Open YuryKorovko opened 6 years ago
Tell us which versions you are using:
Tell us to which platform this issue is related
then or catch block should be trigged.
Works well on IOS
Then or catch block is not trigged after images selected. After debugging in Android I found that onActivityResult isn't trigged. Works well on IOS
selectProducts = () => { ImagePicker.openPicker({ multiple: true, includeBase64: true, mediaType:'photo', cropping: true, compressImageQuality : 0.6 }).then(images => { //DOESN'T WORK tested with alert and console.log this.props.navigation.navigate('NewProducts',{products:images}) }).catch(error => { //DOESN'T WORK tested with alert and console.log console.log(error, 'ERROR'); }); };
Any progress here? @YuryKorovko
@Werewolve Unfortunately, no. It is a very regretful fact that we cannot get any working solution.
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
Expected behaviour
then or catch block should be trigged.
Works well on IOS
Actual behaviour
Then or catch block is not trigged after images selected. After debugging in Android I found that onActivityResult isn't trigged. Works well on IOS
Attachments
selectProducts = () => { ImagePicker.openPicker({ multiple: true, includeBase64: true, mediaType:'photo', cropping: true, compressImageQuality : 0.6 }).then(images => { //DOESN'T WORK tested with alert and console.log this.props.navigation.navigate('NewProducts',{products:images}) }).catch(error => { //DOESN'T WORK tested with alert and console.log console.log(error, 'ERROR'); }); };