Launch your Apache Cordova Android app automatically when the device is booted.
-
Fork this repository
-
In
src/android/BootLauncher.java
line 13, replacecom.ionicframework.starter.StarterApp.class
with[YOUR_APP_ID].CordovaApp.class
. YOUR_APP_ID is the reverse domain-style identifier you used when you created your cordova project. -
Add your forked plugin via the CLI:
cordova plugin add https://github.com/jimibi/cordova-plugin-boot-launcher.git
- Remove your plugin via the CLI:
cordova plugin rm fr.edps.cordova.bootlauncher
Android only.