Android app randomly crashes when opening a note with an image

Reported by Gerardo via email.

Bug report

I have a problem in version 5.2.0 on Android.

When I close the application on a note with an image attached, when I open it again it closes unexpectedly for 2 to 3 times and then it works, then it repeats what I did before if I close on a note with an image attached.

I have attached a screenshot of the last thing seen.

Thank you for the help and Thank you for creating this incredible application

Environment

  • Platform: Android
  • Platform version: Unknown
  • App Version: 5.2.0

How to reproduce

  1. Insert an image
  2. Close the app
  3. Start the app and open the note
1 Like

Memo:

I found that the internal native module randomly fails to get the view ID.
It gets the following error when the app crashes:

com.facebook.react.uimanager.IllegalViewOperationException Main
Trying to resolve view with tag 0 which doesn't exist

Iā€™m planning to upgrade React Native and check if it solves the issue then.