Run the sample
Install React Native CLI.
npm install -g react-native-cli
Install required packages.
npm install react-native link
(iOS only) Pod install.
cd ios pod install
(iOS only) Add library in XCode
- Open XCode and load workspace
- Right click to 'Libraries' > Add Files to "Project Name" > select
- Project Settings > Build Phases > Link Binary With Libraries > Add
Run the sample. Before starting, you should launch device amulator (or actual device) to run the sample in Android. This sample is not available for real device in iOS due to Apple Development Policy. In order to run React Native sample in real device, follow React Native official guide for your own setup.
react-native run-android react-native run-ios