diff --git a/src/ios/PushPlugin.m b/src/ios/PushPlugin.m index a3557834c..482b18d41 100644 --- a/src/ios/PushPlugin.m +++ b/src/ios/PushPlugin.m @@ -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];