I am using the @react-native-firebase/messaging library for push notifications and it worked for me to request the permission, but I have a toggle, which should be able to revoke those permissions, so the device won't receive push notifications anymore.
I could in theory just remove the token from our firebase and then check, before sending a notification, if there is a messaging token to begin with, but I would like to know if it is possible to just revoke the permission.