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

Commit dbb6d92

Browse files
Upgrade Fabric/Crashlytics to new FirebaseCrashlytics #1699
1 parent e5624e1 commit dbb6d92

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/crashlytics/crashlytics.ios.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ export function setUserId(id: string): void {
5454

5555
export function crash(): void {
5656
if (isCrashlyticsAvailable()) {
57-
console.log('currently manual crashing not implemented on iOS');
57+
NSException.exceptionWithNameReasonUserInfo(
58+
"FIRCrashlytics",
59+
"test crash",
60+
null
61+
).raise();
5862
}
5963
}
6064

0 commit comments

Comments
 (0)