Skip to main content
Solved

How to get heads up push notification in Android

  • 1 February 2023
  • 4 replies
  • 98 views

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

 

 

To implement heads-up push notifications in Android, use a `NotificationChannel` with high importance and ensure the notification includes `setPriority(NotificationCompat.PRIORITY_HIGH)`.

best photo editor app


Hi @chetan33853 :

Please use this latest article and videos to implement the push notifications module to your app:

  1. Updated doc -https://crmsupport.freshworks.com/en/support/solutions/articles/50000002717-how-to-integrate-android-sdk-for-chat-
  2. Please ensure to read this developer document on how to handle notifications: https://developers.freshchat.com/mobile/#handle-push-notifications
  3. Sample: https://github.com/freshdesk/freshchat-android/tree/master/Sample/FCPushNotificationSample

Hope this helps:)


For Android 8.0 (API level 26) and above, you need to create a notification channel.
Set Importance: Use NotificationManager.IMPORTANCE_HIGH to ensure the notification appears as a heads-up notification.
make sure to create app’s visual elements, like icons or images, I highly recommend using Remini for this.


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

 

 

 


Reply