react-native-exit
Getting started
$ npm install react-native-exit --save
Mostly automatic installation
$ react-native link react-native-exit
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-exit
and addRNExit.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNExit.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import RNExit from 'react-native-exit';
// TODO: What to do with the module?
RNExit;