Giter Site home page Giter Site logo

Comments (11)

ToniKorin avatar ToniKorin commented on July 29, 2024

Have you checked the android logs?
During the boot phase the network connectivity is available after the pin unlock. So if your app is loading something over the network during the start up, it may cause your app to crash.

from cordova-plugin-autostart.

alaanasreng avatar alaanasreng commented on July 29, 2024

how to check android logs?
i dont have any pin lock. @ToniKorin

from cordova-plugin-autostart.

ToniKorin avatar ToniKorin commented on July 29, 2024

Here you go:
http://developer.android.com/tools/help/monitor.html

from cordova-plugin-autostart.

alaanasreng avatar alaanasreng commented on July 29, 2024

hello sir,
i checked android logs, and don't have any messages for the app at booting device.
so the app doesn't start
any help please? @ToniKorin

from cordova-plugin-autostart.

antiPoP avatar antiPoP commented on July 29, 2024

Similar issue here. The plugin does not start the app at boot, but works fine when updating the app with adb install -r. Is required some specific android version or permission to make it work?

from cordova-plugin-autostart.

ToniKorin avatar ToniKorin commented on July 29, 2024

I just re-verified android versions 4, 5 and 6 successfully. I don't see any obstacles about older versions either. The plugin itself enables the required permission for RECEIVE_BOOT_COMPLETED. Do you have any special configuration, which could lead to this unwanted result?

from cordova-plugin-autostart.

antiPoP avatar antiPoP commented on July 29, 2024

I just made a trivial "Hello World" app with only this plugin and I got the same results. I'm using the latest Cordova version (5.4.0).

from cordova-plugin-autostart.

alaanasreng avatar alaanasreng commented on July 29, 2024

hello sir,
i don't have any special configuration, and i test app on "Galaxy Tab 4.0"

from cordova-plugin-autostart.

ToniKorin avatar ToniKorin commented on July 29, 2024

Btw, it was also discovered that the installation into SD card prevents the start after the boot for some reason.

from cordova-plugin-autostart.

antiPoP avatar antiPoP commented on July 29, 2024

Installing in internal storage (adb and without the -s switch) works as expected. Is possible to fix the plugin so it also works with the sdcard?

from cordova-plugin-autostart.

ToniKorin avatar ToniKorin commented on July 29, 2024

Unfortunately it seems to be impossible:
http://stackoverflow.com/questions/9556944/broadcastreceiver-not-working-when-app-is-installed-on-sd-card

To avoid unnecessary hassle in the future I just updated the Readme about the limitations... ;)

from cordova-plugin-autostart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.