-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
What happened?
We upgraded RNN to 8.3.2 and RN to meet Android's 16kb requirement, and therefore released it on the Google Play Store on November 1st. In the last two days, we've encountered many errors like the following: Fatal Exception: com.facebook.react.bridge.RetryableMountingLayerException: Unable to find viewState for tag 418. Surface stopped: false. I've spent a day investigating this error, and I can't seem to resolve it locally. I found the following related issues: facebook/react-native#49077, software-mansion/react-native-reanimated#7493
I'm not sure if this issue is related to RNN, but I have a few questions:
-
RNN 7.40.0 does not depend on
reanimated-color-picker, and therefore does not depend onreact-native-reanimated; why does RNN 8.3.2 requirereanimated-color-picker? My project currently does not havereact-native-reanimatedinstalled. To fix this error, I installed and applied the patch according to this issue: Reanimated is not supporting multiple surfaces software-mansion/react-native-reanimated#8344 -
What is the relationship between RNN and
react-native-reanimated? Can my project do withoutreact-native-reanimated? You can also set Animations: https://wix.github.io/react-native-navigation/docs/style-animations -
I found a related bug on iOS: [iOS] React Native Navigation + Reanimated Crash #8121, but not on Android. Has no one else encountered this?
What was the expected behaviour?
I would be extremely grateful if someone could answer my question.
Was it tested on latest react-native-navigation?
- I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!
N/A
In what environment did this happen?
React Native Navigation version: 8.3.2
React Native version: 0.77.3
Has Fabric (React Native's new rendering system) enabled: (yes/no) yes
Node version: v20.19.4
Device model: ?
Android version: Android 15/16