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

How to undo Notifications.registerRemoteNotifications() ? #1030

Open
zabojad opened this issue Feb 6, 2024 · 3 comments
Open

How to undo Notifications.registerRemoteNotifications() ? #1030

zabojad opened this issue Feb 6, 2024 · 3 comments

Comments

@zabojad
Copy link

zabojad commented Feb 6, 2024

I do not see any API to undo Notifications.registerRemoteNotifications(). How to do that?

@zabojad
Copy link
Author

zabojad commented Feb 8, 2024

Once we've registered, seems that await Notifications.isRegisteredForRemoteNotifications(); will always return true then...

@zabojad
Copy link
Author

zabojad commented Feb 17, 2024

I'm really surprised no one else has needed this at some point 🤔...

@Sayah-Sel
Copy link

I also need that. I though Notifications.ios.abandonPermissions(); would to the job for iOS, but it does not seem too.

It is quite annoying, when developping an app, because one would certainly test the registration procedure before having set the entire flow to send the token to the backend and deal with it.

In my case I just wanted to see what this token looked like, and especially its type :/

I am trying actually to clean everything and build again the project, I hope it will unregister 😅

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