Additional getting started resources:
- The React Native Tutorial and accompanying sample app
You need to have a React Native development environment set up using the guides in React Native documentation (React Native CLI Quickstart tab).
- Clone parent repository (pubnub/react) and enter the
examples/reactnative
directory
$ git clone https://github.com/pubnub/react
$ cd react/examples/reactnative
- Install dependencies
$ npm install
- Run the emulator!
# for Android:
$ npm run android
# for iOS:
$ npm run ios