Android Push notifications¶
Welcome to the Android Push Notifications guide for integrating push notifications into your Acrobits Softphone SDK application. Follow the steps below to enable push notifications using Firebase Cloud Messaging (FCM).
Step 1: Create an App in Firebase¶
To get started with push notifications, you’ll need to create an app in Firebase. Follow these steps:
Go to the Firebase Console and sign in with your Google account.
Click on “Add project” and provide a name for your project.
Follow the on-screen instructions to set up your project in Firebase.
Step 2: Enable Cloud Messaging¶
Once your project is set up in Firebase, enable Cloud Messaging to handle push notifications. Follow these steps:
- In the Firebase Console, select your project.
Navigate to the “Cloud Messaging” section.
Follow the instructions provided to enable Cloud Messaging for your app.
Step 3: Add google-services.json to your project¶
To connect your application to the Firebase Cloud Messaging backend, you’ll need to add the google-services.json file to your project.
In the Firebase Console, select your project.
Click on the gear icon next to “Project Overview” and select “Project settings”.
Navigate to the “Cloud Messaging” section.
Click on the “Download google-services.json” button.
Add the <code>google-services.json</code> file to your project.
Step 4: Retrieve the Server Key¶
A Firebase Server Key is required to enable push notifications in your Acrobits libSoftphone SDK application. Follow these steps to retrieve it:
In the Firebase Console, select your project.
Click on the gear icon next to “Project Overview” and select “Project settings”.
Navigate to the “Cloud Messaging” section.
Copy the Server Key.
Step 5: Provide the Server Key to Acrobits¶
Once we receive the Server Key, we will guide you on the necessary configuration steps to integrate push notifications into your Acrobits Softphone SDK application.
That’s it! You’ve completed the initial steps to enable push notifications in your Acrobits Softphone SDK application. Our team will work with you to ensure a smooth integration process and assist you in leveraging the power of push notifications to enhance your application’s user experience.
If you have any questions or need further assistance, please don’t hesitate to reach out to our support team. We’re here to help!
Please note that the instructions provided here are a general guide and may vary based on your specific Firebase configuration. Make sure to follow the instructions provided by Firebase and consult their documentation for any further details.