We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaec607 commit 20257bdCopy full SHA for 20257bd
ios/RNInstabug/InstabugCrashReportingBridge.m
@@ -29,6 +29,14 @@ + (BOOL)requiresMainQueueSetup
29
RCT_EXPORT_METHOD(sendJSCrash:(NSDictionary *)stackTrace
30
resolver:(RCTPromiseResolveBlock)resolve
31
rejecter:(RCTPromiseRejectBlock)reject) {
32
+
33
+ if([fingerprint isKindOfClass:NSNull.class]){
34
+ fingerprint = nil;
35
+ }
36
37
+ if([userAttributes isKindOfClass:NSNull.class]){
38
+ userAttributes = nil;
39
40
dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0ul);
41
dispatch_async(queue, ^{
42
[IBGCrashReporting cp_reportFatalCrashWithStackTrace:stackTrace];
0 commit comments