You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when trying to use the @baronha/react-native-photo-editor package in my Expo app. After patching the package to make it compatible with Expo Dev Client for Android, I'm now facing a java.lang.RuntimeException error related to the requestFeature() method call. It seems that this error is caused by the PhotoEditorActivity.
Steps to Reproduce
Install @baronha/react-native-photo-editor version 1.1.6.
Apply the patch mentioned here to make it work with expo dev client.
Integrate the PhotoEditor component in the app.
Attempt to use the PhotoEditor functionality.
Expected Behavior
The PhotoEditor component should launch and allow me to edit images without any errors.
Actual Behavior
When I attempt to use the PhotoEditor component, I encounter the following error:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nasyxrakeeb.test/com.reactnativephotoeditor.activity.PhotoEditorActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
Additional Information
Expo SDK Version: 49.0.8
React Native Version: 0.72.4
@baronha/react-native-photo-editor Version: 1.1.6
Android Device: Samsung a50 (Physical)
Android OS Version: 11
I had to patch the package to make it work with Expo Dev Client for Android.
Hello,
I'm encountering an issue when trying to use the
@baronha/react-native-photo-editor
package in my Expo app. After patching the package to make it compatible with Expo Dev Client for Android, I'm now facing ajava.lang.RuntimeException
error related to therequestFeature()
method call. It seems that this error is caused by thePhotoEditorActivity
.Steps to Reproduce
@baronha/react-native-photo-editor
version1.1.6
.PhotoEditor
component in the app.PhotoEditor
functionality.Expected Behavior
The
PhotoEditor
component should launch and allow me to edit images without any errors.Actual Behavior
When I attempt to use the
PhotoEditor
component, I encounter the following error:Additional Information
CODE
I appreciate your help in resolving this issue. Please let me know if there's any additional information needed from my end.
The text was updated successfully, but these errors were encountered: