Skip to content

Android 11 Auto Revoke Feature Request #527

@Mattimus333

Description

@Mattimus333

Feature request

Android 11 has a new feature that allows the user to enable a switch that will "auto revoke permissions" after a few months of no use. I believe there are ways to detect this and prompt the user to change it.

Why it is needed

Make full use of Android 11 features. Definitely not necessary but would be nice considering this library is "react-native-permissions"

Possible implementation

https://developer.android.com/reference/android/content/Intent#ACTION_AUTO_REVOKE_PERMISSIONS

https://developer.android.com/reference/android/content/pm/PackageManager#isAutoRevokeWhitelisted(java.lang.String)

Code sample

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions