react-native-android-permissions
react-native-android-permissions copied to clipboard
React Native Android Permissions experimental module - Android M (6.0) permissions like to your React Native application
App was working fine, I added android.useAndroidX=true in gradle.properties as few android libraries have migrated to androidX RNPermissionsModule.java:8: error: cannot find symbol import android.support.v4.app.ActivityCompat; tried using import androidx.legacy.app.ActivityCompat, its the...
If you use this along with `react-native-navigation`, the `onRequestPermissionsResult` in `MainActivity` never get's called. This is because `react-native-navigation`'s `NavigationActivity` is what get's returned from `getCurrentActivity`.
Hi, is there a way right now to detect if the user has tapped 'never ask again'? Sam
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.