Hi Expo,
I can’t able to pick image from the android device via standalone apk build. It is working in standalone ios and open app via expo.
Here is the code:
_pickImage = async () => {
let result = await ImagePicker.launchImageLibraryAsync({
allowsEditing: true,
aspect: [4, 3],
});
// console.log(result)
if (!result.cancelled) {
this.setState({
ImageSource: result.uri,
isImageChanges: true
});
}
};
I also gave the permissions to read internal and external storage in app.json.
"permissions": [
"ACCESS_FINE_LOCATION",
"ACCESS_COARSE_LOCATION",
"READ_INTERNAL_STORAGE",
"READ_EXTERNAL_STORAGE"
]
Please help!