Web Push Same Subscriber Different Endpoint Issue

111
January 19, 2022, at 10:30 PM

I am trying to implement the web-push service in one of my projects. So, I actually need to know the actual subscriber numbers in my app. So what problem I am facing is, the service worker generates new endpoints for the same user and I didn't find any unique thing by which I can figure out if the subscriber exists or not.

All my users are also guest users so I don't have any unique thing. There is also an event called onPushSubscriptionChange which doesn't also work in other browsers except for Mozilla.

So is there any way to uniquely identify a user? Like if multiple endpoints are created for the same user then I want to replace the old endpoint with the new one in my database. I am not willing to use cookies also.

Another thing is does firebase cloud messaging solves this issue?

Thank you

Rent Charter Buses Company
READ ALSO
Why is the html view port meta tag breaking my CSS when I want to make my page responsive?

Why is the html view port meta tag breaking my CSS when I want to make my page responsive?

I am working on a small website for uni and have started out by designing the mobile site firstIt looked exactly how I wanted it to look on a 320px mobile device

94
SOLVED - addClass only once onClick ReactJS

SOLVED - addClass only once onClick ReactJS

Hi I'm new to ReactJS so I'm importing some work of mine to my project and turning it into componentsI have a span acting as a button with keyframe animations, but when i load the page it gets animated

126
Can't understand code of getRefreshKey in Android paging3 codelab

Can't understand code of getRefreshKey in Android paging3 codelab

This is the code of getRefreshKey function of the paging3 codelab

157
Regular expression help - comma delimited string

Regular expression help - comma delimited string

I don't write many regular expressions so I'm going to need some help on the one

187