zendframework / ZendService_Google_Gcm

Implementation for ZF2 of a GCM 3rd party server (http://developer.android.com/guide/google/gcm/)
BSD 3-Clause "New" or "Revised" License
29 stars 49 forks source link

Google Api Migration #11

Closed RedBoool closed 8 years ago

RedBoool commented 9 years ago

Hi,

Google is changing its API as described in https://developers.google.com/cloud-messaging/c2dm

The C2DM service will be shut down completely on 10/20/2015 (less than a month now). So if this bundle isn't updated, it won't work from this date.

RedBoool commented 9 years ago

There is a mistake on the service URL with the previously given Google doc.

This doc give a working URL: https://developers.google.com/cloud-messaging/http

To resume, we have to use https://gcm-http.googleapis.com/gcm/send route (but not https://gcm-http.googleapis.com/cloud-messaging/send) instead of https://android.googleapis.com/gcm/send.

As GCM format hasn't change, changing URL in client is enough.