FirebaseMessaging.deleteToken not deleting token #607
-
Hi everyone, I've been working with the Firebase Messaging plugin and I've encountered a situation where I need to revoke the granted permission by the user. I've looked through the documentation, but couldn't find any explicit mention of a method to revoke the permission and remove the token. I assumed that deleteToken might serve this purpose, but it doesn't seem to work as expected. After calling deleteToken, I still receive a token when I subsequently call getToken. Could someone please provide guidance on how to revoke the permission and remove the token properly?
Your assistance would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Which permission do you want to remove? |
Beta Was this translation helpful? Give feedback.
No, only the user can revoke the permission via the app settings.