I have a question about subscription handling in wonderpush.
In our case we include wonderpush with a user-id in out web application.
We check if user is subsribed via wonderpush (via WonderPush.isSubscribedToNotifications()) and then we save this boolean value in our system.
Now the following use case:
User A logs in and subscribes to push notifications. With this our system sets values “push_subscription” to true. After this the user logs out.
User B logs in - and without any subscription the WonderPush.isSubscribedToNotifications() returns a true. But it was not this user who subscribet but this browser/device.
Is there a better way to handle this?
Thanks for some help!