react-native-check-camera
v0.0.1
Published
check whether camera-permission is denied
Downloads
7
Readme
react-native-intent-launcher
call native function startActivity
in react-native
Description
You can call native function startActivity
in react-native to do something with Intent
which can only be solved with android native code
Installation
npm install react-native-intent-launcher
rnpm link react-native-intent-launcher
Usage
import IntentLauncher, { IntentConstant } from 'react-native-intent-launcher'
...
IntentLauncher.startActivity({
action: 'android.settings.APPLICATION_DETAILS_SETTINGS',
data: 'package:com.example'
})
...
you can view the code in Example of the Repository
Properties
action
Stringdata
Stringcategory
Stringflags
Stringextra
Object
In the IntentConstant
, we provide some constants for these properties, you can look up document provided by google to find out property we didn't support currently.
License
MIT