yarn react-native-permissions 3.4.0

latest releases: 5.0.0-rc.0, 5.0.0-beta.3, 5.0.0-beta.2...
2 years ago
  • 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.
  • 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.

Don't miss a new react-native-permissions release

NewReleases is sending notifications on new releases.