PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → "Silent" Push Notification
"Silent" Push Notification
Iniciado por guest, 09,oct. 2017 11:13 - 3 respuestas
Publicado el 09,octubre 2017 - 11:13
Hi Forum,

I have one question regarding push notifications:

Is it possible to send a push notification to iOS and Android without showing the notofication in the Status bar?

What I want to do:
I want to send a notification with Forces the application perform some Actions but the user should not see, that something happened.

Best Regards


Stefan.
Publicado el 10,octubre 2017 - 23:19
Hi,

You need to leave the Title and message text empty, only use the content etc...

https://doc.pcsoft.fr/en-US/?1000021015

"if a message or a title is specified in the notification, the system displays the notification in the notification bar. If the user clicks the notification, the procedure specified in NotifPushProcedure is called (nothing happens if it is not specified).
If no message and no title is specified in the notification, the notification is not displayed and the procedure is called directly."

See more details in the Help.

I use this for silent Push Notifications to let my application update the data in the background etc...

Have a nice day
Danny
Publicado el 11,octubre 2017 - 22:46
Hi Danny,

thanks.

does this also work for iOS?
If I read the help correct, this behavior you mentioned only works for Android.

Stefan.
Publicado el 13,octubre 2017 - 09:00
Hi,

I have not implemented this on iOS, so sorry don't know !

Danny