Skip to content
A nativescript plugin that starts your application on device boot
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
native-src/android/BootReceiver
platforms/android
.gitignore
LICENSE
README.md
bootreceiver.js
package.json

README.md

NativeScript BootReceiver

Starts the main activity of a NativeScript application on BOOT_RECEIVED

Installation

Open a shell, go to your app's root folder and run

tns plugin add nativescript-bootreceiver

Usage

Android

Add the boot receiver to the application node of your Android manifest

<receiver
    android:name="com.dashorando.bootreceiver.BootReceiver"
    android:enabled="true"
    android:exported="false"
    android:permission="android.permission.RECEIVE_BOOT_COMPLETED" >
    <intent-filter>
        <action android:name="android.intent.action.BOOT_COMPLETED" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</receiver>

iOS

To be done

Feature requests

Let us know what you need by opening a Github issue

Planned features:

  • Add iOS support
You can’t perform that action at this time.