Hello, i want to implement heads up push notificaiton in Android . like IOS have and some other apps like whatapp etc have when app is closed or backgroup notifcation comes as heads up
Hello, i want to implement heads up push notificaiton in Android . like IOS have and some other apps like whatapp etc have when app is closed or backgroup notifcation comes as heads up
Hi Chetan,
I suppose that the Android App already has the Freshchat SDK set up done, since this question is posted under Freshchat.
Please refer to the following solution article, in which the push notification set up is explained.
https://support.freshchat.com/en/support/solutions/articles/50000000207-freshchat-android-sdk-integration-steps
Hi
Please use this latest article and videos to implement the push notifications module to your app:
Hope this helps:)
Set Up Firebase Cloud Messaging (FCM): Add FCM to your project via build.gradle
and configure it in the Firebase Console.
Create a Service: Extend FirebaseMessagingService
to handle incoming messages and create notifications.
Build Notification: Use NotificationCompat.Builder
, set setPriority(NotificationCompat.PRIORITY_HIGH)
for heads-up notifications.
Create Notification Channel: For Android 8.0+, create a notification channel with IMPORTANCE_HIGH
.
Send Notifications: Use FCM to send messages with the food menu updates.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.