Skip to content

Commit d134b88

Browse files
Add missing param label for showBugReportingWithReportTypeAndOptions
1 parent d942cc6 commit d134b88

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

InstabugSample/ios/InstabugSampleTests/InstabugSampleTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ - (void) testgivenArgs$showBugReportingWithReportTypeAndOptions_whenQuery_thenSh
488488
parsedOptions |= [boxedValue intValue];
489489
}
490490
OCMStub([mock showWithReportType:reportType options:parsedOptions]);
491-
[self.instabugBridge showBugReportingWithReportTypeAndOptions:reportType :options];
491+
[self.instabugBridge showBugReportingWithReportTypeAndOptions:reportType options:options];
492492

493493
XCTestExpectation *expectation = [self expectationWithDescription:@"Test ME PLX"];
494494

ios/RNInstabug/InstabugReactBridge.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@
111111

112112
- (void)setReportTypes:(NSArray *)types;
113113

114-
- (void)showBugReportingWithReportTypeAndOptions:(IBGBugReportingReportType)type
115-
:(NSArray *)options;
114+
- (void)showBugReportingWithReportTypeAndOptions:(IBGBugReportingReportType)type options:(NSArray *)options;
116115

117116
- (void)setAutoScreenRecordingEnabled:(BOOL)enabled;
118117

ios/RNInstabug/InstabugReactBridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ - (dispatch_queue_t)methodQueue {
690690
IBGBugReporting.enabled = isEnabled;
691691
}
692692

693-
RCT_EXPORT_METHOD(showBugReportingWithReportTypeAndOptions:(IBGBugReportingReportType) type: (NSArray*) options) {
693+
RCT_EXPORT_METHOD(showBugReportingWithReportTypeAndOptions:(IBGBugReportingReportType)type options:(NSArray*) options) {
694694
[[NSRunLoop mainRunLoop] performBlock:^{
695695
IBGBugReportingOption parsedOptions = 0;
696696
for (NSNumber *boxedValue in options) {

0 commit comments

Comments
 (0)