-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Error: Exception in HostFunction: Loss of precision during arithmetic conversion: (long) 0.01 #48421
Comments
@neeteshraj If you still believe this is related to React Native core, please provide a valid reproducer. You can use the following repro template. Thank you! |
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
The repo was private. I updated it to public. |
Have you tried to open the issue also against |
No. Is it related to react-native-screens? |
By looking at the stacktrace I would say so:
|
But same version of react-native-screens is working fine with react-native 0.75.4. I am currently using react-native-screens 4.0.0 |
Description
(NOBRIDGE) ERROR Warning: Error: Exception in HostFunction: Loss of precision during arithmetic conversion: (long) 0.01
This error is located at:
in RNSScreen (created by Animated(Anonymous))
in Animated(Anonymous)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze
in InnerScreen (created by Screen)
in Screen (created by SceneView)
in SceneView (created by NativeStackViewInner)
in RNSScreenStack (created by ScreenStack)
in Unknown (created by ScreenStack)
in ScreenStack (created by NativeStackViewInner)
in NativeStackViewInner (created by NativeStackView)
in RCTView (created by View)
in View (created by SafeAreaProviderCompat)
in SafeAreaProviderCompat (created by NativeStackView)
in NativeStackView (created by NativeStackNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by NativeStackNavigator)
in NativeStackNavigator (created by ApplicationNavigator)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by ApplicationNavigator)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by ApplicationNavigator)
in ApplicationNavigator (created by Root)
in ThemeProvider (created by Root)
in ThemeProvider (created by PaperProvider)
in RCTView (created by View)
in View (created by Portal.Host)
in Portal.Host (created by PaperProvider)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaInsetsContext)
in SafeAreaProviderCompat (created by PaperProvider)
in PaperProvider (created by Root)
in RNGestureHandlerRootView (created by GestureHandlerRootView)
in GestureHandlerRootView (created by Root)
in Root
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in nkcc_mobile_app(RootComponent)
Steps to reproduce
install these dependencies
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/native": "^6.1.18",
"@react-navigation/native-stack": "^6.11.0",
"@react-navigation/stack": "^6.4.1",
"i18next": "^24.2.0",
"intl-pluralrules": "^2.0.1",
"ky": "^1.7.4",
"lottie-react-native": "^7.1.0",
"react": "18.3.1",
"react-error-boundary": "^5.0.0",
"react-i18next": "^15.4.0",
"react-native": "0.76.5",
"react-native-bootsplash": "^6.3.2",
"react-native-gesture-handler": "^2.21.2",
"react-native-linear-gradient": "^2.8.3",
"react-native-mmkv": "^3.2.0",
"react-native-paper": "^5.12.5",
"react-native-reanimated": "^3.16.6",
"react-native-safe-area-context": "^5.0.0",
"react-native-screens": "4.4.0",
"react-native-svg": "^15.10.1",
"react-native-video": "^6.8.2",
"react-native-vision-camera": "^4.6.3",
"zod": "^3.24.1"
Try running on android.
React Native Version
0.76.5
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/neeteshraj/nkcc/tree/feat/home-screen
Screenshots and Videos
The text was updated successfully, but these errors were encountered: