App launcher via alarm
npm install react-native-launcher --save- In
android/settings.gradle
//...
include ':react-native-launcher'- In
android/app/build.gradle
dependencies {
//...
implementation project(':react-native-launcher')
//...
}Import
import LauncherPlugin from 'react-native-launcher';An example can be found here
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 (For the first intent see implementation)
Author Vlad Kalyuzhnyu