Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Push Notification to specific users not being sent

$
0
0

I have managed to send push notifications to my channel with a php script by using the code your evangelist Ricardo Alcocer posted: Cross-platform ACS Push Notifications with PHP

If my $to_ids is set to 'everyone' it all works fine - but if I set it to a cloud id and send, the console says: "No sending logs found for this push notification. Push notification logs of requests will be visible here when push notifications are sent to subscribers of this app."

The 'To ID' lists the id like this: ["xxxxxxxx"]

Now, I did get a good response from my php script: {"response":{"meta":{"code":200,"status":"ok","method_name":"Notify"}... so I´m surprised it isn´t working.

I have made sure that cookie.txt is writable and checked that is in fact changed when I run my script.

A note about what user id the server sends to. My mobile app creates a cloud user and then gets a user object back in the response. From that object I can fetch the id (e.users[0].id) that I use when sending the push. That is correct, right?

Please help! Thanks in advance.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>