- Add support for
android.permission.UWB_RANGING
permission - Drop
SharedPreferences
usage on Android (enables support for Ask next time setting or Only this time grant status - more informations in #696 pull request thread)
Previous Android flow
New Android flow
ℹ️ It should not be breaking if you followed the previous flow.
Known issues
- On Android, there is currently no way, without relying on
SharedPreferences
(a trick that break Ask next time setting and Only this time grant status), to determine if a permission isBLOCKED
without requesting it. - Dismiss the popup on Android 11+ will result in
BLOCKED
(see facebook/react-native#30158). It's a flaw in the Android permission system, not specific to this library or React Native.