react-native-image-picker: Nothings happens after pressing Take-photo or Choose-from-library, even no errors
Description
As title, nothing happens when I pressed Take-photo or Choose-from-library.
However the Cancel button is effective, the if (response.didCancel) block is entered.
I also tried to provide a callback function to options of ImagePicker.showImagePicker(options, the Cancel logic is still effective, but there shows no error.
Additional Information
- React Native version:
"react": "16.0.0-alpha.12",
"react-native": "0.45.1",
"react-native-config": "^0.2.1",
"react-native-device-info": "^0.10.0",
"react-native-drawer": "^2.3.0",
"react-native-image-picker": "^0.26.4",
"react-native-maps": "^0.15.3",
"react-native-material-ui": "^1.12.0",
"react-native-vector-icons": "^4.3.0",
- Platform: Android 6
- Development Operating System: Windows 7
- Dev tools: I’m forcing my Android SDK to ver 23 with this config
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
}
}
}
}
Any suggestion or guess will be appreciated, thanks!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 4
- Comments: 17 (1 by maintainers)
it’s working for me now. Do this step to fix this issue 5. Add the required permissions in AndroidManifest.xml:
+1 I’m having the same issue only happing on Andriod
+1 I’m having the same issue only happing on Andriod