cordova-plugin-autostart icon indicating copy to clipboard operation
cordova-plugin-autostart copied to clipboard

Not working on Android 8.1

Open EnMaster opened this issue 6 years ago • 0 comments

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.

EnMaster avatar Nov 27 '18 00:11 EnMaster