Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 19e79ed

Browse files
Custom logs for crashlytics #1134 (added a todo)
1 parent 14d83d8 commit 19e79ed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/crashlytics/crashlytics.ios.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ export function sendCrashLog(exception: any /* NSError */): void {
66

77
export function log(priority: number, tag: string, msg: string): void {
88
if (isCrashlyticsAvailable()) {
9+
// TODO this seems deprecated, see https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1134
910
Crashlytics.sharedInstance().logEvent(tag + " - " + msg);
11+
// Answers.logCustomEventWithNameCustomAttributes(tag + " - " + msg, null);
1012
}
1113
}
1214

0 commit comments

Comments
 (0)