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

Commit

Permalink
Fixed issues with using init with string for senderId property incorr…
Browse files Browse the repository at this point in the history
…ectly
  • Loading branch information
jtbdevelopment committed Dec 8, 2015
1 parent 1340784 commit 9c6681e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/PushPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ - (void)init:(CDVInvokedUrlCommand*)command;
#endif

// GCM options
[self setGcmSenderId: [NSString stringWithString: [iosOptions objectForKey:@"senderID"]]];
[self setGcmSenderId: [iosOptions objectForKey:@"senderID"]];
if([[self gcmSenderId] length] > 0) {
NSLog(@"Using GCM Notification");
[self setUsesGCM: YES];
Expand Down

0 comments on commit 9c6681e

Please sign in to comment.