I am creating an Android application for Android. I am creating this application using this tutorial . When I find this application on the device, its onDeviceReady function does not work. It shows only the transition to the device. My onDeviceReady function is below: -
onDeviceReady: function() { app.receivedEvent('deviceready'); alert('device ready'); try { var pushNotification = window.plugins.pushNotification; pushNotification.register(app.successHandler, app.errorHandler,{"senderID":"41327727848","ecb":"app.onNotificationGCM"}); } catch (ex) { alert('error: ' + ex); } },
He does not warn anything. I can not find the error.
source share