I'm using this photo grid: https://reactnativeexample.com/react-native-photo-grid/
I pass the array with S3 URI's to the component:
The component displays the images correctly.
The problem is when I click an image. I try to console.log() the uri of the clicked image, but instead of the s3 uri, I get the Proxy object:
Any idea on how can I get the clicked image s3 URI?
Thanks!
So this issue was answered in the package github. It just needed a second parameter, like this:
<PhotoGrid
onPressImage={(eventObj, uri) => console.log("image uri", uri)}
/>
Cheers!