Best android open-source packages and libraries.

Android java chat push notification app

Open-source Chat Push Notification App for Java (Android)
Updated 5 months ago

Android Java Push Notification App

Platform Platform GitHub repo size GitHub contributors GitHub stars Twitter Follow

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.


Table of Contents

  1. Pre-requisite

  2. Installation

  3. Run the Sample App

  4. Documentation

  5. Contribute

Pre-requisite ⭐

  1. Login to the CometChat Dashboard.
  2. Select an existing app or create a new one.
  3. Go to credentials section and copy the Auth key from the credentials 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 Token-based(V2).
  6. Also, save the FCM Server key in the Settings and click on Save.
  7. Copy the APP_ID, REGION and AUTH_KEY for your app.

Installation 🔧

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

Run the Sample App

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 and AUTH_KEY and REGION 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.

Note

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

📝 Documentation

We are providing two ways to implement push notification for your app.

  1. Firebase

  2. ConnectionService + Firebase

Please refer our documentation to intergrate push notification inside your app.

Contributors

Thanks to the following people who have contributed to this project:

👨‍💻 @vivekprajapati 💻
👨‍💻 @darshanbhanushali 💻
👨‍💻 @yadavmangesh 💻
👨‍💻 @prathamesh-majgaonkar 💻

Contribution guidelines for this project


📫 Contact

Contact us via real time support present in CometChat Dashboard.


License

This project uses the following license: License.md.