react-native-photo-editor
react-native-photo-editor copied to clipboard
Auto close app when click to image editor (Android)
with all version - react-native 0.63
Can you send me detailed error in Android Studio?
same problem -v:reacat-native 0.64
12-03 21:58:07.893 E/AndroidRuntime(25688): java.lang.AbstractMethodError: abstract method "void ja.burhanrashid52.photoeditor.OnPhotoEditorListener.onTouchSourceImage(android.view.MotionEvent)" 12-03 21:58:07.893 E/AndroidRuntime(25688): at ja.burhanrashid52.photoeditor.PhotoEditorImpl$2.onTouch(PhotoEditorImpl.java:86)
Find this file in the NPM package :PhotoEditorActivity.kt Reference : node_modules@baronha\react-native-photo-editor\android\src\main\java\com\reactnativephotoeditor\activity\PhotoEditorActivity.kt
Comment this line :mPhotoEditor?.setOnPhotoEditorListener(this) =》 //mPhotoEditor?.setOnPhotoEditorListener(this) Other operations are not affected at present
react-native 0.66 also auto close up every time on different android devices, ios working with no problem
I am also experiencing this issue.
already added implementation 'com.burhanrashid52:photoeditor:2.0.0'
to build.gradle
@baronha Can you upgrade the example to react-native 0.68.2
?
same issue with React-Native 68 and Photo-Editor 1.1.4
same issue on react native 0.64
any solution without edit source lib?
Find this file in the NPM package :AndroidManifest.xml Reference : node_modules@baronha\react-native-photo-editor\android\src\main\AndroidManifest.xml
Add the highlighted line: android:theme="@style/Theme.AppCompat"