This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

nativescript-bootreceiver

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i nativescript-bootreceiver

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lociii