Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Android 8.1 #30

Open
EnMaster opened this issue Nov 27, 2018 · 0 comments
Open

Not working on Android 8.1 #30

EnMaster opened this issue Nov 27, 2018 · 0 comments

Comments

@EnMaster
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant