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
Currently, the API to disable a push is by forcing to pass an invalid FCM token so the push notification will bounce:
Klaviyo.instance.sendTokenToKlaviyo('<space>');
Proposal
I think a clearer API like disablePush is far more straightforward. Optionally, the native SDKs should provide a similar API to better handle server-side disabling of push notification when FCM or APN tokens were forced expired because of user logout / switch use cases.
Overview
Currently, the API to disable a push is by forcing to pass an invalid FCM token so the push notification will bounce:
Proposal
I think a clearer API like
disablePush
is far more straightforward. Optionally, the native SDKs should provide a similar API to better handle server-side disabling of push notification when FCM or APN tokens were forced expired because of user logout / switch use cases.What do you think about this? @drybnikov
The text was updated successfully, but these errors were encountered: