liaoyuan-io / react-native-multiple-image-picker

React Native Multiple Image Picker
MIT License
41 stars 11 forks source link

'selectedPaths' is not working correctly #18

Open ajaykumar97 opened 5 years ago

ajaykumar97 commented 5 years ago

'selectedPaths' prop has a weird issue. When I select an image from 'react-native-multiple-image-picker' and supply that image path to the picker when I open it again to show it preselected in the gallery, it is working fine. If I explicitly supply an image path which is not selected initially form the 'react-native-multiple-image-picker', it does not show it preselected. However, the paths are same i.e. the selected from the picker and supplied by 'selectedPaths' prop. Please help me if anyone has the solution.