phonegap plugin add de.appplant.cordova.plugin.local-notification
phonegap run iOS
Code in index.js:
document.addEventListener('deviceready', function () { try { cordova.plugins.notification.local.schedule({ text: "This is the text.", at: new Date(new Date().getTime() + 10000) }); } catch (e) { alert("Fail " + e); } });
Any suggestion on what I'm doing wrong?
I tried the same code and it runs on the simulator.
, , , . , ( cmd + shift + h), , (10 ), .
, , ios . .
iPhone 5s. , . Infact, , , , . .
, , , "" , . , , : (
. iOS . , "" "" .