This question is locked. New answers and comments are not allowed.
Using Integrated PushPlugin 1.3.3, I deployed to device with Graphite to an iPhone 4 running iOS 7.0.2 and launched my app. For the onDeviceReady handler I am calling:
window.plugins.pushNotification.register(onTokenHandler, onErrorHandler, { "badge": "true", "sound": "true", "alert": "true", "ecb": "onNotificationAPN" });
I clicked "Don't Allow" in the "[App name] Would Like to Send You Push Notifications" dialog but onTokenHandler was fired with a resulting token anyway. Apparently a user's selection is ignored and the APNS registration happens but the token is invalidated by the dialog selection and a new one will not be issued when register is called with subsequent attempts and thus the onTokenHandler callback will not occur. I also tried unregister() and then register() again to no avail.
window.plugins.pushNotification.register(onTokenHandler, onErrorHandler, { "badge": "true", "sound": "true", "alert": "true", "ecb": "onNotificationAPN" });
I clicked "Don't Allow" in the "[App name] Would Like to Send You Push Notifications" dialog but onTokenHandler was fired with a resulting token anyway. Apparently a user's selection is ignored and the APNS registration happens but the token is invalidated by the dialog selection and a new one will not be issued when register is called with subsequent attempts and thus the onTokenHandler callback will not occur. I also tried unregister() and then register() again to no avail.