Skip to content

Commit fc348f6

Browse files
committed
bug fix: change notification name to something different from event dispatcher name
- to prevent the app from receiving notifications multiple times
1 parent 4cd7148 commit fc348f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/RNVoipPushNotification/RNVoipPushNotificationManager.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#import "RCTEventDispatcher.h"
1515
#import "RCTUtils.h"
1616

17-
NSString *const RNVoipRemoteNotificationsRegistered = @"voipRemoteNotificationsRegistered";
18-
NSString *const RNVoipLocalNotificationReceived = @"voipLocalNotificationReceived";
19-
NSString *const RNVoipRemoteNotificationReceived = @"voipRemoteNotificationReceived";
17+
NSString *const RNVoipRemoteNotificationsRegistered = @"VoipRemoteNotificationsRegistered";
18+
NSString *const RNVoipLocalNotificationReceived = @"VoipLocalNotificationReceived";
19+
NSString *const RNVoipRemoteNotificationReceived = @"VoipRemoteNotificationReceived";
2020

2121
@implementation RCTConvert (UILocalNotification)
2222

0 commit comments

Comments
 (0)