You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue when using the library with the latest version of React Native (currently 0.76.3),
"react-native-screens": "^4.3.0" and last version @react-navigation
When building the Android version, an error occurs:
Warning: Error: Exception in HostFunction: Loss of precision during arithmetic conversion: (long)
The problem disappears if you set integer values in the header sizes:
<Stack.Navigator
screenOptions={{
headerTitleStyle: {
fontSize: ms(16) <-- use Math.round(ms(16)) for example
}
}}
>
The text was updated successfully, but these errors were encountered:
There is an issue when using the library with the latest version of React Native (currently 0.76.3),
"react-native-screens": "^4.3.0" and last version @react-navigation
When building the Android version, an error occurs:
Warning: Error: Exception in HostFunction: Loss of precision during arithmetic conversion: (long)
The problem disappears if you set integer values in the header sizes:
The text was updated successfully, but these errors were encountered: