Quantcast
Viewing all articles
Browse latest Browse all 8068

Android device not receive push notification

Hi all !

I'm setting up push notifications to my android app and I've a problem...

After configuration (GCM etc), I create a channel an registre my device with token id and user id with the Cloud.PushNotifications.subscribe method. When I'm testing to send notification with the push consol in the titanium admin portal (channel and user id), everything is ok, the device retreive the notificaiton.

But if I try to send the notification programmatically with Cloud.PushNotifications.notify, and passing channel, to_ids and payload {"alert":"TEST","vibrate":true} the method success but the device not receive the notification...

Does anyone know what is the difference ?

Thanks a lot!

Hervé.


Viewing all articles
Browse latest Browse all 8068

Trending Articles