Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FCM endpoints not supported #60

Closed
alexsuh7 opened this issue Apr 30, 2019 · 1 comment
Closed

FCM endpoints not supported #60

alexsuh7 opened this issue Apr 30, 2019 · 1 comment

Comments

@alexsuh7
Copy link

alexsuh7 commented Apr 30, 2019

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
Copy link
Member

Thanks,

This was released in v1.0.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants