Skip to content

Commit 641afb1

Browse files
author
Zane J. Chua
committed
Add init method for iOS
1 parent 95e2efc commit 641afb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ios/RNZendeskChatModule.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ @implementation RNZendeskChatModule
4848
});
4949
}
5050

51+
RCT_EXPORT_METHOD(init:(NSString *)zenDeskKey) {
52+
[ZDCChat initializeWithAccountKey:zenDeskKey];
53+
}
54+
5155
@end

0 commit comments

Comments
 (0)