react-native-ios-example-module
Getting started
$ npm install react-native-ios-example-module --save
Mostly automatic installation
$ react-native link react-native-ios-example-module
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-ios-example-module
and add RNReactNativeIosExampleModule.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNReactNativeIosExampleModule.a
to your project's Build Phases
➜ Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import RNReactNativeIosExampleModule from 'react-native-ios-example-module';
RNReactNativeIosExampleModule;