Problems with loading app with Reanimated 2 [iOS]
See original GitHub issueDescription
Hello, thanks for the great update and your work to give us a stable version of reanimated 2. I checked previous issues and I didn’t find anything similar.
The problem is pretty simple to explain. With react-native-reanimated
I need to refresh app 3-6 times (sometimes even more) to make it load. Otherwise, I can see a white screen (screenshot below) without any error inside console/ Xcode.
I was able to run the app only once on the physical device and I tried to refresh the app like 50 times.
To make it clear - reanimated is working correctly and I’m able to run example code without any issues/errors. I cannot hot reload the app nor make it work after the first refresh.
Do you have same problems or I’m missing some kind of additional step of the configuration? I would really appreciate your hints.
Screenshots
Steps To Reproduce
- Run the app with reanimated 2
Expected behaviour
Hot reload/hard reload will work out of the box
Actual behavior
Most of the time I can see a white screen without errors. I need to hard refresh the app multiple times
Snack or minimal code example
I encountered it even without any reference to react-native-reanimated
inside JavaScript. Just after enabling TurboModules
Package versions
- React: 16.13.1
- React Native: 0.63.2
- React Native Reanimated: 2.0.0-alpha.5 / tried also with master branch
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top GitHub Comments
I found the code responsible for the issue:
I had this same issue and my NavigationContainer didn’t have any props like linking. I fixed it stopping debug.