You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be very convenient to execute custom code when users subscribe or unsubscribe to notifications.
I suggest implementing a callback mechanism, for instance by adding a callback parameter in to the subscribe and unsubscribe functions, and execute the callbacks in or instead of reg.pushManager.subscribe(options).then and subscription.unsubscribe().then for instance.
What do you think?
The text was updated successfully, but these errors were encountered:
This would be very convenient to execute custom code when users subscribe or unsubscribe to notifications.
I suggest implementing a callback mechanism, for instance by adding a
callback
parameter in to thesubscribe
andunsubscribe
functions, and execute the callbacks in or instead ofreg.pushManager.subscribe(options).then
andsubscription.unsubscribe().then
for instance.What do you think?
The text was updated successfully, but these errors were encountered: