Skip to content

Commit 635cf3c

Browse files
committed
🐛 fix breaking change in invokeWithMode
1 parent 2436691 commit 635cf3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/RNInstabug/InstabugReactBridge.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ - (dispatch_queue_t)methodQueue {
5555
[IBGBugReporting invoke];
5656
}
5757

58-
RCT_EXPORT_METHOD(invokeWithInvocationMode:(IBGInvocationMode)invocationMode options:(IBGBugReportingInvocationOption)options) {
59-
[IBGBugReporting invokeWithMode:invocationMode options:options];
58+
RCT_EXPORT_METHOD(invokeWithInvocationMode:(IBGInvocationMode)invocationMode) {
59+
[Instabug invokeWithInvocationMode:invocationMode];
6060
}
6161

6262
RCT_EXPORT_METHOD(invokeWithInvocationModeAndOptions:(IBGInvocationMode)invocationMode options:(NSArray*)options) {

0 commit comments

Comments
 (0)