IOS: on registration fired twice #185

Closed
Moussawi7 opened this Issue Sep 30, 2015 · 1 comment

Projects

None yet

2 participants

@Moussawi7

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
Member

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

@macdonst macdonst closed this Sep 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment