0x0ece / yopa-native

0 stars 2 forks source link

Crash on Android #116

Closed nax83 closed 6 years ago

nax83 commented 6 years ago

Frequency: always

[Precondition]

[Actions]

[Error] App crashes

error.txt

nax83 commented 6 years ago

Narrowing the issue down

The exception is raised by GestureHandlerOrchestrator

It happens if the user click on a Secret (swipe doesn't cause the exception) In my opinion the Gesture Handler attaches its logic to the Rootview but it doesn't take care to remove all the handlers once the root view is not available anymore

A paragraph in the react-native-gesture-handler page shows how to setup it if the project is using react-native-navigation. I am not sure if this could affect even react-navigation

0x0ece commented 6 years ago

Good findings!

I suggest we wait for Expo v25, and while we upgrade that, we can try upgrading also all the react-* packages, and see if they fixed it already.

nax83 commented 6 years ago

After the latest wave of libs upgrade, I cannot reproduce it anymore.