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

IOS: on registration fired twice #185

Closed
Moussawi7 opened this issue Sep 30, 2015 · 2 comments
Closed

IOS: on registration fired twice #185

Moussawi7 opened this issue Sep 30, 2015 · 2 comments

Comments

@Moussawi7
Copy link

Hi,
I already installed the latest version of this plugin and it seem the on "registration" callback is fired twice.

function initialize() {
    alert("at init");//fired once
    var push = PushNotification.init({"android": {"senderID": "12345679"}, "ios": {"alert": "true", "badge": "true", "sound": "true"}, "windows": {}});
    push.on('registration', function(data) {
        alert("at registration");//fired twice
    });
}

Thanks.

@macdonst
Copy link
Member

Probably a duplicate of #57 please comment on that issue.

@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

2 participants