Kumaresan C
Kumaresan C
@nashfive do you face the same issue ?
@mapeveri Try to execute the following line inside device ready. pushNotification.register(successHandler, errorHandler, {"senderID":"myprojectnumber", "ecb":"onNotification"});
@mapeveri Have you modified the sender id with your Project id?
Try commenting all the lines inside onNotification and just add an alert and check
@mapeveri Can you tell me the Device configuration details like OS version etc
you can try to change the function ``` function onNotification(e){ console.log("onNotification") } ``` to ``` $scope.onNotification = function (e) { }; ``` also modify it in during registration.
Please find the details regarding the error that you got in browser : Cordova/Phonegap is not supported in browser. So browser throws an error. :100:
@zckrs can you please merge the new Pul request that i have made?
@nashfive It is a bug in Plugin..!!!
@nashfive if the App developer wish to reset during this scenario, then he could reset it by using "pushNotification.setApplicationIconBadgeNumber(successCallback, errorCallback, "0");" during app resume status. Which adds more flexibility to...