Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-native/ios/BacktraceReactNative.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to return something from the function?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, the return value is not used at all.

}

RCT_EXPORT_METHOD(useAttachments: (NSArray*) attachmentPaths) {
Expand Down