Comments (11)
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.
how to check android logs?
i dont have any pin lock. @ToniKorin
from cordova-plugin-autostart.
Here you go:
http://developer.android.com/tools/help/monitor.html
from cordova-plugin-autostart.
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.
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.
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.
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.
hello sir,
i don't have any special configuration, and i test app on "Galaxy Tab 4.0"
from cordova-plugin-autostart.
Btw, it was also discovered that the installation into SD card prevents the start after the boot for some reason.
from cordova-plugin-autostart.
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.
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)
- can't use window.plugins.autoStart.enable() HOT 1
- Not working on Android 5.0.1 HOT 2
- IOS - Plugin 'AutoStart' not found HOT 1
- Detect When Started by User and When by Plugin HOT 1
- Expose actions to enable/disable PackageReplacedReceiver HOT 3
- Not switching autostart to on in the app HOT 1
- how to enable a Service?
- This does not work for Ionic 3 HOT 6
- Not working on Android 8.1
- Is this code here ?
- it can be in the background
- Can I use the plugin to start my app in background (or as a service) ? HOT 1
- I want my application to always be running, never to die, and to ignore the physical buttons HOT 1
- Java.lang.RuntimeException HOT 1
- Plugins no funciona Ionic 4 HOT 6
- Error HOT 1
- Plugin not working on Ionic 4 HOT 1
- for the background service
- autostart not working on android 10 os HOT 10
- Using with Stencil + Cordova HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-autostart.