Skip to content

Files

reactnative

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 4, 2020
Aug 30, 2022
Jan 3, 2023
Feb 4, 2020
Feb 4, 2020
Feb 4, 2020
Feb 4, 2020
Feb 4, 2020
Feb 4, 2020
Feb 4, 2020
Feb 4, 2020
Jan 3, 2023
Feb 4, 2020
Jun 28, 2022
Feb 4, 2020
Feb 4, 2020
Feb 4, 2020
Aug 30, 2022
Aug 30, 2022
Feb 4, 2020

React Native PubNub example

Additional getting started resources:


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 (pubnub/react) and enter the examples/reactnative directory
$ git clone https://github.com/pubnub/react
$ cd react/examples/reactnative
  1. Install dependencies
$ npm install
  1. Run the emulator!
# for Android:
$ npm run android

# for iOS:
$ npm run ios