I’ve read the new Expo docs regarding asking permissions … And It’s not clear if you’re facing a lib that doesn’t provide an helper for permissions !
The only thing I’ve noticed is in this sentence :
Most permissions are added automatically by libraries that you use in your app either with config plugins or with a package-level AndroidManifest.xml, so you won’t often need to use android.permissions to add additional permissions.
Does this mean that we could still use the PermissionAndroid for some custom plugins that doesn’t provide a specific
exo-location does (
Location.requestForegroundPermissionsAsync(); ) ?
Despite the warning in the front page of react native website ? …
I’m trying to use the react-native-wifi-p2p lib and it need those permissions :
"android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_WIFI_STATE", "android.permission.CHANGE_WIFI_STATE", "android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE",
Is it even possible to use this lib with expo ?
Any help would be appreciated !
SDK Version: 46 ? …
expo --version : 6.0.6 (RN 0.69.6)