I'm getting the problem below when trying to generate signed apk:
Unable to resolve module `react-native/Libraries/Components/View/ViewPropTypes` from `~/my-project/node_modules/react-native-photo-view/PhotoView.android.js`: Module does not exist in the module map or in these directories:
~/my-project/node_modules/react-native/Libraries/Components/View
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
1. Clear watchman watches: `watchman watch-del-all`.
2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start --reset-cache`.
:app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
I'm getting the problem below when trying to generate signed apk:
Version of
react-native-photo-view
= 1.4.0