react-native-photo-editor icon indicating copy to clipboard operation
react-native-photo-editor copied to clipboard

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

Open udaykiranchenna2 opened this issue 2 years ago • 2 comments

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

udaykiranchenna2 avatar Nov 16 '22 18:11 udaykiranchenna2

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

isubhann avatar Feb 07 '23 09:02 isubhann

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.

devansh-nigam avatar Aug 30 '23 12:08 devansh-nigam