Skip to content

Commit 32e2e5b

Browse files
Fix setPostInvocationHandler typo
1 parent ea1f84f commit 32e2e5b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ios/RNInstabug/InstabugReactBridge.m

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
// instabugDemo
44
//
55
// Created by Yousef Hamza on 9/29/16.
6-
// Copyright © 2016 Facebook. All rights reserved.
7-
//
86

97
#import "InstabugReactBridge.h"
10-
#import <Instabug/Instabug.h>
8+
#import "Instabug.h"
119

1210
@implementation InstabugReactBridge
1311

@@ -78,16 +76,16 @@ - (dispatch_queue_t)methodQueue {
7876
}
7977
}
8078

81-
RCT_EXPORT_METHOD(setPostInvocatioHandler:(RCTResponseSenderBlock)callBack) {
79+
RCT_EXPORT_METHOD(setPostInvocationHandler:(RCTResponseSenderBlock)callBack) {
8280
if (callBack != nil) {
83-
[Instabug setPostInvocatioHandler:^(IBGDismissType dismissType, IBGReportType reportType) {
81+
[Instabug setPostInvocationHandler:^(IBGDismissType dismissType, IBGReportType reportType) {
8482
[self sendEventWithName:@"IBGpostInvocationHandler" body:@{
8583
@"dismissType": @(dismissType),
8684
@"reportType": @(reportType)
8785
}];
8886
}];
8987
} else {
90-
[Instabug setPostInvocatioHandler:nil];
88+
[Instabug setPostInvocationHandler:nil];
9189
}
9290
}
9391

0 commit comments

Comments
 (0)