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
publishKeyandsubscribeKeyfor your app inApp.jsand start the dev server.
npm startFor more information about this project, or how to create an app using PubNub, please check out the PubNub Documentation.