receivedEvent: function (id) { if (navigator.connection.type == Connection.NONE) { navigator.notification.alert('NO NETWORK CONNECTION', null, 'Warning', 'OK'); } else { window.open('my_web_site', '_self'); } }qué tan cerca de la aplicación después del botón Aceptar
Puede usar el método de confirmación en lugar de alerta para mostrar un mensaje.
receivedEvent: function (id) { if (navigator.connection.type == Connection.NONE) { navigator.notification.confirm("NO NETWORK CONNECTION", function(e){navigator.app.exitApp();}, ["Warning"], ["Ok"]) } else { window.open('my_web_site', '_self'); } }