Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Silent Push

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.

like image 457
crazyPixel Avatar asked Mar 27 '13 22:03

crazyPixel


People also ask

What is silent push notification in Android?

Silent push notifications are simply notifications that mobile app users receive without any pings, alerts, or interruptions to the user. They arrive on the mobile device and sit in the notification tray until read or dismissed.

How do I send silent push to Android?

There are two ways users can receive silent push notifications on Android. Users can long press on a notification to get an option to display notifications silently. Users can also enable silent notifications by heading to Settings > App & Notifications > Search for app and choose> Notifications, and turn it off.

How do I send silent push notifications?

Control Panel. To send a Silent Push Notification to your mobile app, check the checkbox Silent Push in the iOS and Android push settings of the Send Push form.

Can push notifications have sound?

Tap Notifications. Tap Sounds. Tap either Alarm Events, Silent Alarm Events, or Non-Alarm Events.


1 Answers

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.

like image 76
Eran Avatar answered Sep 27 '22 18:09

Eran