File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
ios/RNVoipPushNotification Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313@interface RNVoipPushNotificationManager : NSObject <RCTBridgeModule>
1414
1515- (void )voipRegistration ;
16- - (void )registerUserNotification ;
16+ - (void )registerUserNotification : ( NSDictionary *) permissions ;
1717- (NSDictionary *)checkPermissions ;
1818+ (void )didUpdatePushCredentials : (PKPushCredentials *)credentials forType : (NSString *)type ;
1919+ (void )didReceiveIncomingPushWithPayload : (PKPushPayload *)payload forType : (NSString *)type ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ - (void)setBridge:(RCTBridge *)bridge
6464 object: nil ];
6565}
6666
67- - (void )registerUserNotification (NSDictionary *)permissions
67+ - (void )registerUserNotification : (NSDictionary *)permissions
6868{
6969 UIUserNotificationType types = UIUserNotificationTypeNone;
7070 if (permissions) {
@@ -156,7 +156,7 @@ - (void)handleRemoteNotificationReceived:(NSNotification *)notification
156156 body: notification.userInfo];
157157}
158158
159- RCT_EXPORT_METHOD (requestPermissions(NSDictionary *)permissions)
159+ RCT_EXPORT_METHOD (requestPermissions: (NSDictionary *)permissions)
160160{
161161 if (RCTRunningInAppExtension ()) {
162162 return ;
You can’t perform that action at this time.
0 commit comments