100% push enabled, but not sending

Comments

2 comments

  • Avatar
    Nikolai Polkhovskiy

    Hi!

    Could you please specify whether there are any delivery Report button like this for the push that has never arrived:

    alt text

  • Avatar
    andyark

    Hi, I resolved it. In the Cordova PushWoosh Documentarion they have this:

    pushNotification.registerDevice(
            function(status) {
                var pushToken = status;
                console.warn('push token: ' + pushToken);
            },
            function(status) {
                console.warn(JSON.stringify(['failed to register ', status]));
            }
        );
    

    And I found another code somewhere else:

    pushNotification.registerDevice(
                function(token) {
                    var pushToken = status;
                    console.warn('push token: ' + pushToken);
                },
                function(status) {
                    console.warn(JSON.stringify(['failed to register ', status]));
                }
            );
    

    As you can see, the first function receive token as parameter, and in their sample, not.

Please sign in to leave a comment.