I get the following error when running react-native run-android:
/Users/[user]/Documents/github/[my-app]/node_modules/react-native-photo-view/android/src/main/java/com/reactnative/photoview/ImageEvent.java:37: error: no suitable constructor found for Event(int)
super(viewId);
^
constructor Event.Event() is not applicable
(actual and formal argument lists differ in length)
constructor Event.Event(int,long) is not applicable
(actual and formal argument lists differ in length)
Note: /Users/[user]/Documents/github/[my-app]/node_modules/react-native-photo-view/android/src/main/java/com/reactnative/photoview/ResourceDrawableIdHelper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:react-native-photo-view:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Whilst I could post this issue to 'react-native-photo-view', I am curious if anyone else is facing this problem? I dug up this solution to downgrade the depency to 1.2.0 (currently ~1.5.0 in shoutem/ui). Manually setting this repo to 1.2.0 resulted in a chain of further errors .
Can anyone test out my package.json and see if it builds? I've tried running gradle clean and rebuilding but to no luck.
I get the following error when running
react-native run-android
:Whilst I could post this issue to 'react-native-photo-view', I am curious if anyone else is facing this problem? I dug up this solution to downgrade the depency to 1.2.0 (currently ~1.5.0 in shoutem/ui). Manually setting this repo to 1.2.0 resulted in a chain of further errors .
Can anyone test out my package.json and see if it builds? I've tried running gradle clean and rebuilding but to no luck.