I am new to android and I'm playing around trying some features here and there. I wanted to know what is the way to use silent push - meaning get a push notification on the device without any alarm, notification or vibration - i.e. without the user to be aware of it. If someone have a tutorial he can refer me to I'll be more than gratefull.
Android Silent Push
The default push in Android (Google Cloud Messaging for Android) is a silent push. You actually have to write code in order for the push notification to generate a notification, sound or any other effect noticeable by the user.
Read the GCM Guide.
the document is deprecated –
Soda
© 2022 - 2024 — McMap. All rights reserved.
title
andmessage
fields are present in your payload. Otherwise, the notification will be completely silent, it took me a while to realize this. – Homoousian