Open roronoa89 opened 6 years ago
I was getting this error until I removed the onLoad
and onLoadEnd
callbacks. Installing from master also caused it to go away, presumably because the code on master includes an onError
callback.
Probably something to do with the supported message types and the message dispatched here: https://github.com/alwx/react-native-photo-view/blob/master/android/src/main/java/com/reactnative/photoview/PhotoView.java#L131-L133
@computerjazz it's work ! thanks you
@computerjazz Thank so much for this answer. But I still got the same error after I click on Image 20 times. My zoomable image is in a Modal.
Here are my Scenario:
I have a listing of items. Each item contain Zoomable image displaying in Modal. When I click on each item an image is displayed, then when I click on image it will pop up a Modal with Zoomable image in it. Then, I close the Modal and go back to my Listing items. I do that like 20 times. I got an Error saying Unsupported top level event type "photoViewError" dispatched
.
I install from master branch the latest version and onError
now works.
Hello Friends, how to install react-native-photo-view from master branch, thanks in advance .
Hello Friends, how to install react-native-photo-view from master branch, thanks in advance .
npm install https://github.com/alwx/react-native-photo-view.git
I have this error ! Any ideas ?