GithubHelp home page GithubHelp logo

react-native-chat's Introduction

React Native Group Chat App With CometChat PRO

This sample app shows how to build a React Native chat application using CometChat Pro SDK.

SCREENSHOTS

Login Chat Interface

Jump straight into the code or read the accompanying step-by-step guide here on our blog.

Technology

This demo uses:

  • React Native
  • CometChat Pro React Native SDK

Running the demo locally

  • Download the repository here or run git clone https://github.com/cometchat-pro-tutorials/react-native-chat.git
  • In the react-native-chat directory, run npm install
  • You need to sign up for CometChat PRO and create your application first
  • Create an ApiKey. You can use auth-only permission for this application
  • Create a Group from the dashboard
  • Create a .env file in the root folder of the project and paste the following content in it:
REACT_NATIVE_CC_APP_ID= YOUR_APP_ID
REACT_NATIVE_CC_API_KEY= YOUR_API_KEY
REACT_NATIVE_CC_GUID= YOUR_GROUP_GUID

Replace YOUR_API_KEY, YOUR_APP_ID and YOUR_GROUP_GUID with your API KEY, APP ID and GUID as obtained from your CometChat dashboard.

  • run expo start
  • Install Expo app on your Android/ iOS device and scan the barcode

Useful links

Other examples

react-native-chat's People

Contributors

nathansebhastian avatar bookercodes avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.