Skip to content

FCM endpoints not supportedΒ #60

Closed
Closed
@alexsuh7

Description

@alexsuh7

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions