1.0.3 • Published 6 years ago
react-native-ios-example-module v1.0.3
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-moduleand addRNReactNativeIosExampleModule.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNReactNativeIosExampleModule.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Usage
import RNReactNativeIosExampleModule from 'react-native-ios-example-module';
// TODO: What to do with the module?
RNReactNativeIosExampleModule;