Cloud Messaging high priority limitation

2,983 views
Skip to first unread message

Marko

unread,
Feb 8, 2021, 7:59:08 AM2/8/21
to Firebase Google Group
Hi Experts and Enthusiasts!

I hope you can help me clearing things about Google Cloud Messaging high priority messaging.

Our care customers (nurses) use their smart phone to receive notifications when assistance is needed for a resident. We use Google Cloud Messaging to send push notifications to their smart phone. It is very important that the notifications are noticed by the nurses. For that reason we use push notifications with a high priority.

Google says that high priority messages should result in a user interaction (see italic text below). Our customers (the nurses) work in teams do not always interact with our notifications because they might be busy helping another resident.

We want to prevent being limited in our use of high priority messages. We are not limited yet but we want to prevent this. Can you give us a suggestion/advice on what we can do to keep sending high priority messages without being limited at some point in time?

High priority. FCM attempts to deliver high priority messages immediately, allowing the FCM service to wake a sleeping device when necessary and to run some limited processing (including very limited network access). High priority messages generally should result in user interaction with your app or its notifications. If FCM detects a pattern in which they don't, your messages may be de-prioritized. Android P introduced app standby buckets which limit the number of FCM high priority messages you can send to your app that don't result in the user using your app or viewing a notification. If, in response to a high priority message, a notification is displayed in a way that is visible to the user, then your app standby bucket quota will not be consumed by that message.

Best Regards, Marko

Arthur Thompson

unread,
Feb 8, 2021, 7:08:01 PM2/8/21
to Firebase Google Group
Hi Marko,

Hi Priority messages are intended to notify the user when there is
something that they are expecting to interact with. If your app is
sending notifications to users with that expectation/intention your
app will not be de-prioritized by FCM. I'm not sure how the OS may
deal with that.

Also please note that FCM is meant to re-engage, notify users and ping
apps. It is not intended to be used as critical infrastructure for
your application or service. If the delivery of notifications is
critical I would recommend adding other avenues of generating
notifications in addition to FCM. There will be some required
deduplication on your end but that would be the best way to improve
the reliability of notifying your users.
> --
> You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/d9116132-d785-4d26-ac20-a792e517e05an%40googlegroups.com.

Noam Ma-Yafit

unread,
Feb 9, 2021, 5:12:32 AM2/9/21
to fireba...@googlegroups.com
I would recommend adding other avenues of generating
notifications in addition to FCM”

Do you have a suggestion for one? I thought FCM is the only one to send push to the phone.  

--
Ping Identity
Noam Ma-Yafit
Mobile & Strong authentication Manager
nmay...@pingidentity.com
w: +97237500608
c: 972-54-9989228
Connect with us: Glassdoor logo LinkedIn logo twitter logo facebook logo youtube logo Blog logo


CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you.

Arthur Thompson

unread,
Feb 11, 2021, 1:38:12 PM2/11/21
to Firebase Google Group
Hi Noma,

When the app is in the foreground you can have an open connection to the backend since the battery usage would be minimal compared to screen usage.

When the app is not in the foreground however using FCM is the best option to deliver remote notifications.


Reply all
Reply to author
Forward
0 new messages