cometchat-push-notification-app-react
cometchat-push-notification-app-react copied to clipboard
Push Notification App for React (JavaScript/Web)
React Push Notification 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 :star:
- Login to the CometChat Dashboard.
- Select an existing app or create a new one.
- Go to the credentials section and copy the
Auth
key from the credentials tab. - Go to the "Extensions" section and Enable the Push Notifications extension.
- Go to the "Installed" tab in the same section to open the settings for this extension and Set the version to Token-based(V2).
- Also, save the
FCM Server key
(received from Firebase Console) in the Settings and click on Save. - Copy the
APP_ID
,REGION
, andAUTH_KEY
for your app.
Installation :wrench:
- Clone the repository:
git clone https://github.com/cometchat/cometchat-push-notification-app-react.git
- Open the project in VS Code
- Install the dependencies
npm i
- Refer to the step from documentation to configure the app to use FCM.
- Run the app
npm run start
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.