react-native-launcher
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

React Native Launcher

App launcher via alarm

npm version

Install

npm install react-native-launcher --save

Setup

  • In android/settings.gradle
//...
include ':react-native-launcher'
  • In android/app/build.gradle
dependencies {
    //...
    implementation project(':react-native-launcher')
    //...
}

Usage

Import

import LauncherPlugin from 'react-native-launcher';

An example can be found here

Notice

delay param works as a delayed time before launch and as a unique identifier

canDrawOverlays may not work on Android Oreo. See this question

getLaunchArgs only works for new intents and not for the first intent

Credits

Author Vlad Kalyuzhnyu

Package Sidebar

Install

npm i react-native-launcher

Weekly Downloads

7

Version

0.0.6

License

none

Unpacked Size

12.2 kB

Total Files

11

Last publish

Collaborators

  • androidovshchik