79644486

Date: 2025-05-29 19:05:33
Score: 0.5
Natty:
Report link

This is a thread's issue. onEnd callback runs on UI thread and setEditing must run on JS thread, so crash is happening because you try to call JS function from UI thread. To prevent this code from crashing JS code should be scheduled to be evaluated in the corresponding thread. So just change that line with state change to runOnJS(setEditing)(true)

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: greenfrvr