Closed
Description
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)
Metadata
Metadata
Assignees
Labels
No labels