I'm trying to give an Android app the WRITE_EXTERNAL_STORAGE
but it doesn't seem to be given the permission in the emulator. The Android.manifest looks like follows:
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
As you can see, I've clearly android.permission.WRITE_EXTERNAL_STORAGE
. Anyone know why the permission is still not given? I've tried various emulators (API 24, 26, 28).
Any thought appreciated.
EDIT: My project has quite a few dependencies:
"dependencies": {
"moment": "^2.22.0",
"react": "16.0.0",
"react-native": "0.51.0",
"react-native-background-timer": "^2.0.1",
"react-native-camera": "^1.1.4",
"react-native-code-push": "^5.3.2",
"react-native-elements": "^0.19.0",
"react-native-google-analytics-bridge": "^5.6.3",
"react-native-modal-dropdown": "^0.6.2",
"react-native-photo-upload": "^1.2.0",
"react-native-router-flux": "^4.0.0-beta.28",
"react-native-star-rating": "^1.0.9",
"react-native-ui-kitten": "^3.0.0",
"react-native-vector-icons": "^4.5.0",
"recyclerlistview": "^1.3.1",
"react-native-wheel-picker": "^2.0.0",
},