cordova-plugin-autostart
cordova-plugin-autostart copied to clipboard
Not working on Android 8.1
Android 8.1
Nokia 6
nodejs 8.11.1
cordova 7.1.0
cordova-android 6.3.0
onsen-ui with angularjs
<plugin name="cordova-plugin-autostart" spec="git+https://github.com/ToniKorin/cordova-plugin-autostart.git" />
ons.ready(function () {
window.plugins.intent.getCordovaIntent(function (intent) {
if (intent.extras
&& intent.extras.cordova_autostart) {
console.log("App has been launched automatically after boot.");
}
else {
console.log("App has been launched manually.");
}
});
cordova.plugins.autoStart.enable();
document.addEventListener('deviceready', onDeviceReady.bind(this), false);
});
I have try with and without screnn pin, but my not restart.