Giter Club home page Giter Club logo

react-native-chat-app's Introduction



CometChat React Native app (built using CometChat Pro Java Script SDK) is a text messaging app capable of one-on-one (private) and group messaging.

Platform Platform

Table of Contents

  1. Installation

  2. Run the Sample App

  3. Screenshots

  4. Contribute

Installtion

Simply Clone the project from cometchat-pro-react-native-sampe-app repository and open in Text Editor of choice. To run the React Native App you need to have react native setup on your system. To setup react native you can follow the Installation guide at the follwing link React Native Setup.

Make CometChat Pro JavaScript SDK Compatilbe with React Native

We have injected two components from sample app to make Java script SDK compatible with React Native the components are as follows: 1] DOMParser 2] base-64 encode and decode

This is done in LoginScreen.js file in src folder. Here base-64 can be injected globally but DomParser needs to be injected only after CometChat.init().

Run the Sample App

To Run to sample App you have to do the following changes by Adding apiKey and appID

  • Open the Project App

  • Go to Under src --> LoginScreen.js

  • modify appID and apiKey with your own ApiKey and AppId

    let appID = "XXXXXXXXX" ,apiKey = "XXXXXXXXX";

Note

You can Obtain your APP_ID and API_KEY from CometChat Pro Dashboard

For more information read CometChat Pro JavaScript SDK Documentation

Contribute

Feel free to make Pull Request.

react-native-chat-app's People

Contributors

mayur-bhandari avatar jitvarp avatar mayur10 avatar ranjanravi85 avatar

Watchers

James Cloos 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.