React-native-image-viewer: When the modal is opened, the image is not displayed, the screen is shown in black

Created on 11 Jul 2018  路  4Comments  路  Source: ascoders/react-native-image-viewer

I have a swiper with images with an onPress event, when I click on it, the modal opens but the image is not seen, only the black screen and the header 1/3, 2/3, etc. is seen.

The array contains the correct URLs and I'm testing it on Android
imagen

Most helpful comment

@MNNetcorp The array of images must be built this way, with objects and that each one has the url property
imagen

All 4 comments

Solved

@NdozHH how did you solve this problem? I have the same issue and don't have any idea how to fix it.

@MNNetcorp The array of images must be built this way, with objects and that each one has the url property
imagen

@NdozHH thx!

Was this page helpful?
0 / 5 - 0 ratings