Skip to content

3.4.0

Choose a tag to compare

@zoontek zoontek released this 05 Jul 12:11
· 163 commits to master since this release
4e08185
  • 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

Android flow - Before

New Android flow

ℹ️  It should not be breaking if you followed the previous flow.

Android flow - After

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 is BLOCKED without requesting it.
  • Dismissing 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.