how send silent push notification ios application on gcm?
silent push notification not appear in notification center, awake application action in background. google introduce new features in new gcm possibility send push messages android, chrome , ios.
any idea, how this?
use content_available
(not content-available
) attribute this:
curl -x post --header "content-type:application/json" --header "authorization:key=aizaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "https://android.googleapis.com/gcm/send" --data-ascii '{"data":{"xxx":"yyy"},"content_available":true,"to":"xxxxxxxxxx:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy-zzzzzzzzzzzzzzzzzzzz"}'
Comments
Post a Comment