Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App is crashing on calling const result = await PhotoEditor.open(Options); #40

Open
udaykiranchenna2 opened this issue Nov 16, 2022 · 2 comments

Comments

@udaykiranchenna2
Copy link

App is crashing on calling const result = await PhotoEditor.open(Options); But no errors are showing.

@isubhann
Copy link

isubhann commented Feb 7, 2023

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"
image

@devansh-nigam
Copy link

Thank you so much @isubhann, the issue was instantly fixed for me, can you please tell me how did you know this was going to fix this issue? I wanted to understand the root cause of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants