diff --git a/packages/react-native/ios/BacktraceReactNative.mm b/packages/react-native/ios/BacktraceReactNative.mm index b53441ad..7cea5522 100644 --- a/packages/react-native/ios/BacktraceReactNative.mm +++ b/packages/react-native/ios/BacktraceReactNative.mm @@ -15,7 +15,7 @@ @implementation BacktraceReactNative } instance = [[BacktraceCrashReporter alloc] initWithBacktraceUrl:submissionUrl andDatabasePath: databasePath andAttributes: attributes andOomSupport:TRUE andAttachments:attachmentPaths]; [instance start]; - return instance; + return nil; } RCT_EXPORT_METHOD(useAttachments: (NSArray*) attachmentPaths) {