Giter Site home page Giter Site logo

aman-cometchat / cometchat-push-notification-app-react-native Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cometchat/cometchat-push-notification-app-react-native

0.0 0.0 0.0 17.36 MB

Push Notification App for React Native (iOS/Android)

Home Page: https://www.cometchat.com

JavaScript 12.28% Ruby 3.74% Objective-C 3.79% Java 11.75% TypeScript 60.95% Objective-C++ 7.48%

cometchat-push-notification-app-react-native's Introduction

CometChat

React Native Push Notification Sample App

CometChat Push Notification Sample App is a fully functional push notification app capable of one-on-one (private) and group messaging, and Calling. This sample app enables users to send and receive push notifications for text and multimedia messages like images, videos, documents and Custom Messages. Also, users can make push notifications for Audio and Video calls to other users or groups.


Pre-requisite

  1. Login to the CometChat Dashboard.
  2. Select an existing app or create a new one.
  3. Go to "API & Auth Keys" section and copy the REST API key from the "REST API Keys" tab.
  4. Go to the "Extensions" section and Enable the Push Notifications extension.
  5. Go to the "Installed" tab in the same section and open the settings for this extension and Set the version to V2.
  6. Paste the REST API Key in the Settings.
  7. Go to Firebase Console and get the Server Key for your app. Paste the Server Key in the settings and click on save.
  8. Copy your app's APP_ID, REGION and AUTH_KEY from the Dashboard. These will be required in the next steps.

Run the Sample App in Android

To Run the sample push notifications app, do the following changes:

You can Obtain your google-services.json from Firebase Console

  • Open the project in Android Studio.

  • Add google-services.json in app directory

  • Build and run the Sample App react-native run-android.

IOS Installation

To Run the sample push notifications app, do the following changes:

For FCM you can obtain your GoogleServices.plist from Firebase Console

  • Open the project in Xcode and navigate to select your push notification configuration:

    • APNS + Callkit (Recommended)
    • Firebase
  • Create certificates for your bundle ID as mentioned in our documentation.

  • Build and run the Sample App react-native run-ios.

Note

Help and Support

For issues running the project or integrating with our UI Kits, consult our documentation or create a support ticket or seek real-time support via the CometChat Dashboard.

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.