Events for registration not being fired #227

Closed
torbas opened this Issue Oct 13, 2015 · 0 comments

Projects

None yet

1 participant

@torbas
torbas commented Oct 13, 2015

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.

@torbas torbas closed this Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment