caffeinalab / ti.goosh

GCM/FCM module for Titanium.
MIT License
52 stars 34 forks source link

Notification not received on App #68

Closed vertexinnovations closed 6 years ago

vertexinnovations commented 7 years ago

FCM is configured for the app and the module implemented. Notifications get to the app without issues if sent from FCM's console. However, when sent via PHP, the message is sent successfully, but never gets to the app.

Below is the result of the PHP function that sends the notification:

{"multicast_id":5158963607793315745,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1499339081907693%1bada1511bada151"}]}

progress44 commented 7 years ago

1- check to have set the correct api keys in php 2- double check the payload

vertexinnovations commented 7 years ago

Thanks for your response.

I checked the api keys, and they are correct. Do you have a sample configuration in PHP, I can maybe compare to what I have?

progress44 commented 7 years ago

There's this file in the repo.

Lenndev commented 7 years ago

for some reason i can't send any push notifications via FCM console anymore... using the deviceToken i get from the deviceTokenSuccess callback (on registration) i get the error it is not registered... any ideas? never had this error before and haven't changed a thing...

EDIT: now i don't get the error in FCM console anymore, but i still don't receive them on the device

progress44 commented 6 years ago

@Lenndev Closing the issue, if you didn't find a solution, reopen it.