Skip to content

Latest commit

 

History

History

reactnative

React Native WebPubSub example

Prerequisites

You need to have a React Native development environment set up using the guides in React Native documentation (React Native CLI Quickstart tab).

Getting started

  1. Clone parent repository (webpubsub/react) and enter the examples/reactnative directory
$ git clone https://github.com/webpubsub/react
$ cd react/examples/reactnative
  1. Install dependencies
$ npm install
  1. Run the emulator!
# for Android:
$ npm run android

# for iOS:
$ npm run ios