react-native-android-permissions
react-native-android-permissions copied to clipboard
requestPermissionIfNeeded
Would you be interested in a if-needed approach that first runs checkPermission
and then requestPermission
if we don't have it?
requestPermissinonIfNeeded(permissionName)
I don't mind submitting a PR.
Hi @mehcode,
It's a good approach at all. Can you send a PR implementing this?
Thanks for the idea ;)