Open froodian opened 7 years ago
Note that to work with FCM, this requires separating xmppHost from xmppAddress as well (as the xmppUser should still be senderId + "@gcm.googleapis.com"
, per https://firebase.google.com/docs/cloud-messaging/server)
xmppAddress is currently defined as a constant (https://sourcegraph.com/github.com/google/go-gcm/-/blob/gcm.go#L42) - this prevents clients from specifying the pre-prod server at
gcm-preprod.googleapis.com:5236
, or (more importantly for my use-case) connecting to the newerfcm-xmpp.googleapis.com:5235