zoontek / zoontek/react-native-permissions
Android 11 Auto Revoke Feature Request
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 4.4k
- Forks
- 844
- Avg merge
- 11d 18h
- Merged PRs (30d)
- 1
Description
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
Code sample
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Android 11 ACTION_AUTO_REVOKE_PERMISSIONS and PackageManager.isAutoRevokeWhitelisted references linked in the issue, then inspect the Android permission integration in this repository. Done means the library can detect the auto-revoke setting and prompt the user to change it, with the React Native API behavior and supported Android versions clarified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- authorization, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100