Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration Id not show #28

Open
edvenkat opened this issue Mar 28, 2016 · 5 comments
Open

Registration Id not show #28

edvenkat opened this issue Mar 28, 2016 · 5 comments

Comments

@edvenkat
Copy link

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...

@mategvo
Copy link

mategvo commented Apr 13, 2016

I have the same problem

@kevinseidler
Copy link

kevinseidler commented May 13, 2016

Me 2. Because initWithWebView is not called, didRegisterForRemoteNotifications is not called because the corresponding observer is never registered. Happens on iOS 9.3.

@Resham143
Copy link

@kevinseidler I tried on 8.4 but still not working

@kevinseidler
Copy link

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;

@mohanoorani
Copy link

mohanoorani commented Apr 18, 2018

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"
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants