Questions tagged [android-push-notification]

252 questions
30
votes
1 answer

Deep Link with Push Notification - FCM - Android

What I want: I want to send push notification to users. When user tap on that notification, user should navigate to specific activity. What I did: I created one deep link in Firebase console. I implemented FirebaseInstanceIdService &…
15
votes
6 answers

Some Oreo devices are not getting Push Notification

Samsung S8/S5/J2/Note3 are getting Firebase Push Notification successfully either app is killed, in background or foreground, but Infinix Note 5 (Android One- Oreo) and Oppo F9(Oreo) are not getting push notification if app is killed, they work…
14
votes
4 answers

Where is FCM Intent with data delivered, when app is in background?

I've implemented Firebase in my app and I'm sending push with extra data. When my app is in foreground I'm handling data properly and showing my own notification, but I have a problem with fetching data, when Firebase shows Notification…
11
votes
6 answers

How to access payload of HMS push notifications?

I have published an Android app on Huawei AppGallery and am able to send push notifications from my app backend server via HMS Push Service to the mobile phone as described below. However, I wonder how to access the push notification payload in the…
8
votes
0 answers

How to enable heads-up notifications on Xiaomi (MIUI 10 Global)

How to enable heads-up notifications programatically on Xiaomi devices? Some apps (for example Telegram) have this permisstions turned on by default. Settings screenshot:…
7
votes
0 answers

How to add app icon badge in flutter android?

I am using "flutter_app_badger" for app icon badge. Its working fine with Samsung but not working in some devices like Redmi, vivo etc. How can I mange this? Do we have any option to add "badge" through notification payload like iOS?
afsal.an
  • 499
  • 2
  • 6
  • 13
7
votes
2 answers

is it possible to add video in android push notification?

Is ti possible too embedded video into android rich notification as it possible in iOS? I know that the android officially still do not support that, but it may be some tricky way to improvise that? :) Thanks in advance.
7
votes
2 answers

Are push notifications delivered to android phones after its disabled in settings?

In Android, if we disable app notifications using the OS settings, will fcm/gcm still deliver the notification to the device? If it is delivered to the device will the notification be passed onto the app? or does the OS block it? Is the…
6
votes
2 answers

Is posible use android push notifications in lan? without internet

My question is: Can I implement android push notifications in a lan enviroment? Any tips to do it? thanks!
Wolobi
  • 108
  • 2
  • 6
6
votes
2 answers

What is the purpose of the condition "if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {" in the Firebase Cloud Messaging sample project?

I am implementing the Firebase Cloud Messaging Quickstart sample project available at https://github.com/firebase/quickstart-android/tree/master/messaging, incorporating it to my app. In…
5
votes
3 answers

Android devices not receiving 5% of push sent with Firebase Cloud Messaging

The graph below from Firebase Cloud Messaging (FCM) Console shows how only ~95% of our push are being received by the phones. This is causing lots of issues for us as we're creating a VoIP app and need the push to be received immediately. Can anyone…
5
votes
1 answer

Is there a way to know if Data Saver is enabled?

Android 7.0 Nougat added Data Saver feature allowing users to restrict background data of certain apps (including push notifications). When Data Saver is ON, only the apps on the list found in Settings → Data Saver → Unrestricted data access are…
Marcel Bro
  • 4,907
  • 4
  • 43
  • 70
4
votes
2 answers

Firebase flutter push notification not working on android

I have registered my app, added google-services.json file to my app folder. I added required depndcies etc. I did everything still when I send notification from firebase console I don't receive whether my app is minimized or foreground. I don't even…
Usama Javed
  • 71
  • 1
  • 7
4
votes
0 answers

Is sending a message through Android push notifications idempotent (exactly once delivery)?

I am curious what the case is for both GCM and FCM - I see that GCM is being deprecated but this will still be relevant until it is.
4
votes
1 answer

Android 8: firebase default notification icon not showing up

I'm using firebase FCM for my app, and I set up my own notification icon in Manifest:
1
2 3
16 17