lucasferreira / react-native-send-intent

React Native Android module to use Android's Intent actions for send text to shareable apps or make phone calls or opening third party apps
419 stars 159 forks source link

Question about converting an `am` command to `react-native` #147

Open simonwjackson opened 2 years ago

simonwjackson commented 2 years ago

I am attempting to translate this am command into a react-native-send-intent call:

am start --user 0
  -n com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture
  -e ROM {file.path}
  -e LIBRETRO /data/data/com.retroarch.aarch64/cores/fceumm_libretro_android.so
  -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch.aarch64/files/retroarch.cfg
  -e QUITFOCUS
  --activity-clear-top
  --activity-clear-task
  --activity-no-history

Are there any equivalents to the last three flags?

  --activity-clear-top
  --activity-clear-task
  --activity-no-history