Skip to content

Commit 884e129

Browse files
committed
Fix Undefined Function Error
• A new bridge function (didSetNotificationOpenedHandler) was recently added to the Android native implementation of the SDK, but a corresponding iOS implementation was not added • Fixes #682
1 parent 6febe75 commit 884e129

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ios/RCTOneSignal/RCTOneSignalEventEmitter.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,4 +351,8 @@ + (void)sendEventWithName:(NSString *)name withBody:(NSDictionary *)body {
351351
[OneSignal removeExternalUserId];
352352
}
353353

354+
RCT_EXPORT_METHOD(didSetNotificationOpenedHandler) {
355+
//unimplemented in iOS
356+
}
357+
354358
@end

0 commit comments

Comments
 (0)