This repository contains code to build a sample chat app using the PubNub React Framework.
- Node.js 10+: make sure that you have a recent version of Node installed. If you are not sure, just type this in your terminal
node --version
. - Expo CLI: you can install expo-cli using npm.
npm install expo-cli --global
- PubNub Account: create a free account with PubNub and obtain your publish and subscribe keys.
- Clone the repository.
git clone https://github.com/pubnub/tutorial-app-react-native.git
- Install npm dependencies:
npm install
- Change
publishKey
andsubscribeKey
for your app inApp.js
and start the dev server.
npm start
For more information about this project, or how to create an app using PubNub, please check out the PubNub Documentation.