Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't clear device interests #139

Open
eyeshield2110 opened this issue Apr 5, 2023 · 3 comments
Open

Can't clear device interests #139

eyeshield2110 opened this issue Apr 5, 2023 · 3 comments

Comments

@eyeshield2110
Copy link

I have a button that, when I click on it, it should unsubscribe my device of all interests
This is the code:
image

The promise is resolved and fulfilled but the list of interests is not cleared.

Any other functions from the documentations such as getDeviceInterests work, so it's not an issue with my pusher beams instance.

@benw-pusher
Copy link

You may need to wait for the clearDeviceInterests function to resolve before using getDeviceInterests - the operation within our system is not completed immediately.

@ghost
Copy link

ghost commented Jun 25, 2023

Also had this problem. Did remove them in a loop. This worked. .clearDeviceInterests has an issue i guess.

@benw-pusher
Copy link

Thanks @b6oh - I have been able to replicate this issue and can see the interests are not correctly removed when using clearDeviceInterests. I'll raise internally to get this reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants