PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → Unable to receive Push Notification on Android App
Unable to receive Push Notification on Android App
Started by Pizzy, Jun., 21 2016 1:52 PM - 1 reply
Posted on June, 21 2016 - 1:52 PM
Hello,

I'm trying to implement push notification on Android App in WM 20 using PHP script.

In this, I've successfully developed the code for adding token(Rgistration ID). I got Registration Id as below
APA91bFSvWgWjKuIrv3PWecQlh4oUtjLH6TxZCNUOXIQSAT3IVFjDkvqkcxzr9J3zyUqLthSs1aJ-JL87C108QxCOpYqBHH8UreTC9vOSaKHelhW6jfKyZ73e8efoXt4rSkX_OPPqRAT

I've also implemented code to send Push notification from server using PHP script indicates that it is successfully sent.

Now my question is I'm not able to receive Push notification. Currently I'm using below function in initialization of project to receive push notification in Android Mobile.
NotifPushProcedure(ReceivePushNotif)

//////Procedure
PROCEDURE ReceivePushNotif(myNotif is a Notification)

Info(StringBuild("Notification received with ""%1"" as message and ""%2"" as content" , myNotif..Message,myNotif..Content))

Pls help me to solve this problem.

Thanx in Advance.
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on June, 21 2016 - 4:03 PM
Hi

View link and view video in link

http://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/428-push-esclarecendo-duvidas-para-funcionamento-push-server-send/read.awp

:thank you:

--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/