FCM endpoints not supported
alexsuh7 opened this issue · 1 comments
alexsuh7 commented
registration endpoint for FCM device are sent without server key , caousing a 401 unauthorized response.
Probably caused by code below from webPushClient
var isGcm = subscription.Endpoint.StartsWith(@"https://android.googleapis.com/gcm/send"); if (isGcm)
adding FCM endpoint should solve the issue , as FCM should be backward compatible (tested )
var isGcm = subscription.Endpoint.StartsWith(@"https://android.googleapis.com/gcm/send") || subscription.Endpoint.StartsWith(@"https://fcm.googleapis.com/fcm/send/"); if (isGcm)
coryjthompson commented
Thanks,
This was released in v1.0.12.