Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5fa478

Browse files
committed
Fix .m file
1 parent 5df4c5d commit b5fa478

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ios/RNInstabug/InstabugReactBridge.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Yousef Hamza on 9/29/16.
66

77
#import "InstabugReactBridge.h"
8-
#import "Instabug.h"
8+
#import <Instabug/Instabug.h>
99

1010
@implementation InstabugReactBridge
1111

@@ -78,14 +78,14 @@ - (dispatch_queue_t)methodQueue {
7878

7979
RCT_EXPORT_METHOD(setPostInvocationHandler:(RCTResponseSenderBlock)callBack) {
8080
if (callBack != nil) {
81-
[Instabug setPostInvocationHandler:^(IBGDismissType dismissType, IBGReportType reportType) {
81+
[Instabug setPostInvocatioHandler:^(IBGDismissType dismissType, IBGReportType reportType) {
8282
[self sendEventWithName:@"IBGpostInvocationHandler" body:@{
8383
@"dismissType": @(dismissType),
8484
@"reportType": @(reportType)
8585
}];
8686
}];
8787
} else {
88-
[Instabug setPostInvocationHandler:nil];
88+
[Instabug setPostInvocatioHandler:nil];
8989
}
9090
}
9191

@@ -126,7 +126,8 @@ - (dispatch_queue_t)methodQueue {
126126
}
127127

128128
RCT_EXPORT_METHOD(setShakingThresholdForIPhone:(double)iPhoneShakingThreshold forIPad:(double)iPadShakingThreshold) {
129-
[Instabug setShakingThresholdForIPhone:iPhoneShakingThreshold forIPad:iPadShakingThreshold];
129+
[Instabug setShakingThresholdForiPhone:iPadShakingThreshold
130+
foriPad:iPadShakingThreshold];
130131
}
131132

132133
RCT_EXPORT_METHOD(setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge withTopOffset:(double)floatingButtonOffsetFromTop) {

0 commit comments

Comments
 (0)