File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ @implementation RCTOneSignalEventEmitter {
1010 BOOL _hasSetSubscriptionObserver;
1111 BOOL _hasSetPermissionObserver;
1212 BOOL _hasAddedNotificationClickListener;
13- BOOL _hasAddedNotificationLifecycleListener ;
13+ BOOL _hasAddedNotificationForegroundLifecycleListener ;
1414 BOOL _hasAddedInAppMessageClickListener;
1515 BOOL _hasAddedInAppMessageLifecycleListener;
1616 NSMutableDictionary * _preventDefaultCache;
@@ -264,9 +264,9 @@ + (void)sendEventWithName:(NSString *)name withBody:(NSDictionary *)body {
264264}
265265
266266RCT_EXPORT_METHOD (addNotificationForegroundLifecycleListener) {
267- if (!_hasAddedNotificationLifecycleListener ) {
267+ if (!_hasAddedNotificationForegroundLifecycleListener ) {
268268 [OneSignal.Notifications addForegroundLifecycleListener: self ];
269- _hasAddedNotificationLifecycleListener = true ;
269+ _hasAddedNotificationForegroundLifecycleListener = true ;
270270 }
271271}
272272
You can’t perform that action at this time.
0 commit comments