zsajjad / react-native-exit

React native exit app package when using RN as a library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-exit

Getting started

$ npm install react-native-exit --save

Mostly automatic installation

$ react-native link react-native-exit

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-exit and add RNExit.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNExit.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import RNExit from 'react-native-exit';

// TODO: What to do with the module?
RNExit;

About

React native exit app package when using RN as a library

License:MIT License


Languages

Language:Java 59.4%Language:Objective-C 29.0%Language:Ruby 8.9%Language:JavaScript 2.8%