How should we sent remote push notifications for Android so we can test this feature?
For iOS I managed to send using https://github.com/nomad/houston but as it was mentioned in #6, it's unclear how to send notifications from a server to every device that has the app installed.
I managed in another node-module example to send a notification to Android through something like:
curl -X POST -H "Authorization: key=xxxxxxxxxxxxxxxxxxxxxxxxxxx" -H "Content-Type: application/json" -d '
{
"data": {
"info": {
"subject": "Hello",
"message": "Here I am!"
}
},
"to" : "yyyyyyyyyyyyyyyyyyyyyyyyyyy"
}' 'https://gcm-http.googleapis.com/gcm/send'
Most helpful comment
I managed in another node-module example to send a notification to Android through something like: