trabricks-react / react-native-photo-zoom

MIT License
10 stars 7 forks source link

React Native 0.70 throws error in iOS and Android #11

Open visoft opened 2 years ago

visoft commented 2 years ago

I tried updating my app to React Native 0.70 and received errors in both iOS and Android. I guess it needs an update before moving to 0.70.

iOS

 ERROR  Invariant Violation: View config getter callback for component `RNPhotoZoom` must be a function (received `undefined`).

This error is located at:
    in RNPhotoZoom (at PhotoZoom.ios.js:70)
    ....

Android

 ERROR  Invariant Violation: View config getter callback for component `PhotoZoomAndroid` must be a function (received `undefined`).

This error is located at:
    in PhotoZoomAndroid (at PhotoZoom.android.js:69)
    ....