Open Olha-Khomlyak opened 3 years ago
This is a long known issue with React Native for iOS https://github.com/react-native-modal/react-native-modal/issues/30
This is a long known issue with React Native for iOS react-native-modal/react-native-modal#30
the thing is there is no problem with iOS, onClose does not work on Android
const pickImage = () => { ImagePicker.openPicker({ multiple: true, // mediaType: 'photo', compressImageMaxWidth: 1024, compressImageMaxHeight: 1024, compressImageQuality: 1, }) .then((images: any) => {
console.log('images picked', images);
}).catch(e => {
console.log('[WARNING]', e.message)
}
)
};
please return it as e.message
Version
Platform
Expected behaviour
After user cancel image selection (closes gallery by clicking back button ) app should return to the screen where user can select image
Actual behaviour
After user cancel image selection (closes gallery by clicking back button ) app stops working and promote "App has stopped. Open app again" appears. No error is consoled log, just stops working
Works fine when image is selected. On iOS works fine
Steps to reproduce