cordova-plugin-boot-launcher

Cordova Plugin to automatically start the Cordova app when the device is booted.

Usage no npm install needed!

<script type="module">
  import cordovaPluginBootLauncher from 'https://cdn.skypack.dev/cordova-plugin-boot-launcher';
</script>

README

Boot Launcher

Launch your Apache Cordova Android app automatically when the device is booted.

Install

  1. Fork this repository

  2. In src/android/BootLauncher.java line 13, replace uk.co.ilee.CordovaApp.class with [YOUR_APP_ID].CordovaApp.class. YOUR_APP_ID is the reverse domain-style identifier you used when you created your cordova project.

  3. Add your forked plugin via the CLI:

cordova plugin add https://github.com/[YOUR_USERNAME]/cordova-plugin-boot-launcher.git

Platforms

Android only.

License

MIT License