|
| [WM20] - Push notification does not work in all mobiles |
| Iniciado por yogiyang007, 29,mar. 2019 07:33 - No hay respuesta |
| |
| | | |
|
| |
| Publicado el 29,marzo 2019 - 07:33 |
Hello,
I have an app which is working properly in most of the mobiles.
But yesterday I got a complain from two users that the they is not getting any push notification.
One of the user who has complained is using Samsung Note 8 and the other one is using Panasonic phone.
On further investigation I observed that on both these phones are not getting registered with Google's GCM.
The code I am using is:
NotifPushEnable(ActivatePushNotif,notifPushAllNotif) NotifPushProcedure(ReceivePushNotif)
Procedure ActivatePushNotif(bufIdentifier is Buffer, sError is string)
sRegURL is string
IF InternetConnected() = False THEN RETURN END
IF Length(bufIdentifier) > 0 THEN sRegURL = "[XxXxX.XXX]; sRegURL = StringBuild(sRegURL,bufIdentifier) HTTPRequest(sRegURL) ELSE // Returns the error returned by the service Error("Registration Error: ", sError) END
Is there any setting which we can change on the phone to get Push Notification to work as expected?
TIA
-- Yogi Yang |
| |
| |
| | | |
|
| | | | |
| | |
|