CometChat Push Notification Sample App is a fully functional push notification app capable of one-on-one (private) and group messaging as well as Calling. This sample app enables users to send and receive push notifications for text and multimedia messages like images, videos, documents as well as Custom Messages . Also, users can make push notifications for Audio and Video calls to other users or groups.
- Login to the CometChat Dashboard.
- Select an existing app or create a new one.
- Go to "API & Auth Keys" section and copy the
REST API
key from the "REST API Keys" tab. - Go to the "Extensions" section and Enable the Push Notifications extension.
- Go to the "Installed" tab in the same section and open the settings for this extension and Set the version to
V2
. - Also, save the
REST API
key in the Settings and click on Save. - Copy the
APP_ID
,REGION
andAUTH_KEY
for your app.
Simply Clone the project from android-java-push-notifications-app repository and open in Android Studio. Build the Demo App and it will be ready to Run
To Run to sample app you have to do the following changes by Adding APP_ID, AUTH_KEY , REGION and google-services.json
You can obtain your APP_ID, AUTH_KEY and REGION from CometChat-Pro Dashboard
You can Obtain your google-services.json from Firebase Console
-
Open the project in Android Studio.
-
Modify
APP_ID
andAUTH_KEY
andREGION
with your own . -
Add
google-services.json
in app directory -
Select demo users or enter the UID at the time of login once the app is launched.
Build and run the Sample App.
You can Obtain your APP_ID and API_KEY from CometChat-Pro Dashboard
For more information read CometChat-Pro Android SDK Documentation
You can Obtain your google-services.json from Firebase Console
We are providing two ways to implement push notification for your app.
Please refer our documentation to intergrate push notification inside your app.
Thanks to the following people who have contributed to this project:
👨💻 @darshanbhanushali 💻
👨💻 @yadavmangesh 💻
👨💻 @prathamesh-majgaonkar 💻
Contribution guidelines for this project
Contact us via real time support present in CometChat Dashboard.
This project uses the following license: License.md.