klaviyo / klaviyo-react-native-sdk

MIT License
5 stars 5 forks source link

Unregister Push Token #169

Open AhmadNaeemK opened 2 months ago

AhmadNaeemK commented 2 months ago

Checklist

Description

I can't find a way to unregister a user's push token if they opt out of push notifications after opting in once.

Proposed Solution

Implement unregisterPushToken method that calls the `unregister client push token` api and removes the push notification from Klaviyo.

Alternatives Considered

There's an unregister client push token api (https://developers.klaviyo.com/en/reference/unregister_client_push_token). The api requires the user's Klaviyo profile but there's no client api to fetch it. It would be great if there was a way to fetch the current profile too.

Additional Context

No response

ajaysubra commented 2 months ago

Hey @AhmadNaeemK! Thanks for this request. This is something we plan on implementing some time in the future. We are not sure of the timeline but will update this issue whenever we have any updates!

PapaIII commented 1 month ago

We also need this implemented.

ccodrin commented 1 month ago

I am facing this issue as well. Is there any update here?

invctusdotco commented 4 weeks ago

@AhmadNaeemK did you find a workaround? @ajaysubra any progress?

AhmadNaeemK commented 4 weeks ago

@invctusdotco I found a way to call the unregister api by making several other api calls to klaviyo but that's not usable. because of rate limits on them.