You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
The app I'm working was using the old PushPlugin so migrated to plugin-push. The app receives notifications but I was unable to catch the registration id through the registration event. I need that reg id for the project (can't say for what).
Hi,
The app I'm working was using the old PushPlugin so migrated to plugin-push. The app receives notifications but I was unable to catch the registration id through the registration event. I need that reg id for the project (can't say for what).
push.on('registration', function(data) {
console.log("registration event");
}
To put it simply the console.log doesn't even get called so I don't know how to catch the registration event.
I've tried the plugin-push example and the above code works. So the problem is with the app I'm working on. Going to close this issue.
The text was updated successfully, but these errors were encountered: