Open edvenkat opened 8 years ago
I have the same problem
Me 2. Because initWithWebView is not called, didRegisterForRemoteNotifications is not called because the corresponding observer is never registered. Happens on iOS 9.3.
@kevinseidler I tried on 8.4 but still not working
The observers are not registered correctly. I had to do the following in the Xcode project:
in Plugins/GCMPushPlugin.m: replace: - (CDVPlugin )initWithWebView:(UIWebView )theWebView { with: - (void)pluginInitialize { and remove: return self;
I Still have problem the register successcallback do not fire window.GcmPushPlugin.register(successHandler, errorHandler, { "badge": "true", "sound": "true", "alert": "true", "usesGCM": true, "sandbox": true, "jsCallback": "onNotification" });
Hai friends,
I got alert for "Would like to send notifaction" but not getting the Registration id .....please advice
If i missing any thing. FYI - register method only called.... initWithWebView,didRegisterForRemoteNotifications,didReceiveRemoteNotification are not called...