Skip to main content
Solved

How to get heads up push notification in Android

  • February 1, 2023
  • 4 replies
  • 156 views

chetan33853
Apprentice
Forum|alt.badge.img

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

 

 

Best answer by srikanthkarunakaran

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:)

View original
Did this topic help you find an answer to your question?

4 replies

Sivasankari
Community Debut
  • Community Debut
  • 1 reply
  • February 1, 2023

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

 

 

 


srikanthkarunakaran
Community Manager
Forum|alt.badge.img+6

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:)


seanorvis02
Community Debut
  • Community Debut
  • 1 reply
  • October 28, 2024
  • 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.


panamaCompany
Community Debut
  • Community Debut
  • 2 replies
  • February 12, 2025

I assume the Freshchat SDK is already set up in the Android app since this question is posted under Freshchat.

For setting up push notifications, please refer to the following solution article, which provides a detailed explanation.