Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
fixed registration and removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored and macdonst committed May 4, 2017
1 parent 0169587 commit d1b4f51
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ios/PushPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,7 @@ - (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
[results setValue:dev.model forKey:@"deviceModel"];
[results setValue:dev.systemVersion forKey:@"deviceSystemVersion"];

if([self usesFCM]) {

NSLog(@"token FCM %@",[[FIRInstanceID instanceID] token]);

} else {
if(![self usesFCM]) {
[self registerWithToken: token];
}
#endif
Expand Down

0 comments on commit d1b4f51

Please sign in to comment.