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 48 forks source link

When is the FCM HTTP v1 API supported? #36

Open camry opened 5 years ago

camry commented 5 years ago

When is the FCM HTTP v1 API supported?

url: https://firebase.google.com/docs/cloud-messaging/server?authuser=0#choose

Example:

curl -X POST -H "Authorization: Bearer ya29.ElqKBGN2Ri_Uz...HnS_uNreA" -H "Content-Type: application/json" -d '{
  "notification": {
    "title": "FCM Message",
    "body": "This is a Firebase Cloud Messaging Topic Message!",
  },
  "topic" : "foo-bar"
}' "https://fcm.googleapis.com/v1/projects/myproject-b5ae1/messages:send HTTP/1.1"
weierophinney commented 5 years ago

@mwillbanks Any ideas for this?