-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
What happened?
The build failed on Android because of not resolving the symbol ReactTextShadowNode.UNSET on RN 0.74.1 anymore.
|| ((oldStyle & Typeface.BOLD) != 0 && weight == ReactTextShadowNode.UNSET)) {
^
symbol: variable UNSET
location: class ReactTextShadowNode
Line 99 in dde5643
| || ((oldStyle & Typeface.BOLD) != 0 && weight == ReactTextShadowNode.UNSET)) { |
Since the code was refactored in this PR on 0.74.1, instead of using the ReactTextShadowNode.UNSET, we need to switch it to the ReactConstants.UNSET.
What was the expected behaviour?
The build succeeded.
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!
Build on RN 0.74.1.
In what environment did this happen?
React Native Navigation version: 7.39.2
React Native version: 0.74.1
Has Fabric (React Native's new rendering system) enabled: no
Node version: 20.12.2
Device model:
Android version: 14
waaplog, lucas-zimerman, LeticiaTiemi, marco-saia-datadog and donatoaguirre24