From b5fa478a45ac662c9d653365d1e707bc0b76c0c0 Mon Sep 17 00:00:00 2001 From: Yousef Hamza Date: Mon, 6 Feb 2017 15:31:06 +0200 Subject: [PATCH] Fix .m file --- ios/RNInstabug/InstabugReactBridge.m | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ios/RNInstabug/InstabugReactBridge.m b/ios/RNInstabug/InstabugReactBridge.m index db31be2..95994b8 100644 --- a/ios/RNInstabug/InstabugReactBridge.m +++ b/ios/RNInstabug/InstabugReactBridge.m @@ -5,7 +5,7 @@ // Created by Yousef Hamza on 9/29/16. #import "InstabugReactBridge.h" -#import "Instabug.h" +#import @implementation InstabugReactBridge @@ -78,14 +78,14 @@ RCT_EXPORT_METHOD(setPreInvocationHandler:(RCTResponseSenderBlock)callBack) { RCT_EXPORT_METHOD(setPostInvocationHandler:(RCTResponseSenderBlock)callBack) { if (callBack != nil) { - [Instabug setPostInvocationHandler:^(IBGDismissType dismissType, IBGReportType reportType) { + [Instabug setPostInvocatioHandler:^(IBGDismissType dismissType, IBGReportType reportType) { [self sendEventWithName:@"IBGpostInvocationHandler" body:@{ @"dismissType": @(dismissType), @"reportType": @(reportType) }]; }]; } else { - [Instabug setPostInvocationHandler:nil]; + [Instabug setPostInvocatioHandler:nil]; } } @@ -126,7 +126,8 @@ RCT_EXPORT_METHOD(setCommentFieldRequired:(BOOL)isCommentFieldRequired) { } RCT_EXPORT_METHOD(setShakingThresholdForIPhone:(double)iPhoneShakingThreshold forIPad:(double)iPadShakingThreshold) { - [Instabug setShakingThresholdForIPhone:iPhoneShakingThreshold forIPad:iPadShakingThreshold]; + [Instabug setShakingThresholdForiPhone:iPadShakingThreshold + foriPad:iPadShakingThreshold]; } RCT_EXPORT_METHOD(setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge withTopOffset:(double)floatingButtonOffsetFromTop) {