Loading src/ios/PushPlugin.m +8 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,10 @@ } - (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { if (self.callbackId == nil) { NSLog(@"Unexpected call to didRegisterForRemoteNotificationsWithDeviceToken, ignoring: %@", deviceToken); return; } NSLog(@"Push Plugin register success: %@", deviceToken); NSMutableDictionary *results = [NSMutableDictionary dictionary]; Loading Loading @@ -180,6 +184,10 @@ - (void)didFailToRegisterForRemoteNotificationsWithError:(NSError *)error { if (self.callbackId == nil) { NSLog(@"Unexpected call to didFailToRegisterForRemoteNotificationsWithError, ignoring: %@", error); return; } NSLog(@"Push Plugin register failed"); [self failWithMessage:@"" withError:error]; } Loading Loading
src/ios/PushPlugin.m +8 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,10 @@ } - (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { if (self.callbackId == nil) { NSLog(@"Unexpected call to didRegisterForRemoteNotificationsWithDeviceToken, ignoring: %@", deviceToken); return; } NSLog(@"Push Plugin register success: %@", deviceToken); NSMutableDictionary *results = [NSMutableDictionary dictionary]; Loading Loading @@ -180,6 +184,10 @@ - (void)didFailToRegisterForRemoteNotificationsWithError:(NSError *)error { if (self.callbackId == nil) { NSLog(@"Unexpected call to didFailToRegisterForRemoteNotificationsWithError, ignoring: %@", error); return; } NSLog(@"Push Plugin register failed"); [self failWithMessage:@"" withError:error]; } Loading