Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Events for registration not being fired #227

Closed
torbas opened this issue Oct 13, 2015 · 1 comment
Closed

Events for registration not being fired #227

torbas opened this issue Oct 13, 2015 · 1 comment

Comments

@torbas
Copy link

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 as completed Oct 13, 2015
@lock
Copy link

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant