-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
[0.72.0-rc.5] Event: you must return a valid, non-value from getEventData
#1778
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
@tomekzaw do you have any idea on what might be happening here? I worked on Fabric Interop for 0.72 and we had to work on the Event pipeline for Android, but the problem you're reporting seems unrelated 🤔 |
@cortinico Most likely that's because we send events with react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.kt Line 83 in 6272e44
|
yeah that's most likely the cause |
ccing @WoLewicki – will you have some time to look into this one? |
Yeah, I'll do it ASAP. |
Could you take a look if #1783 fixes the issue? |
@WoLewicki Works like a charm. 👏 Closing this issue as it was fixed in #1783 and released in 3.21.0. |
Description
The following error appears when using [email protected] with [email protected] with Fabric enabled:
The root cause is that react-native-screens sends an event with name
onAttached
withnull
payload which apparently is no longer supported.Steps to reproduce
Snack or a link to a repository
https://github.com/software-mansion/react-native-reanimated/tree/%40tomekzaw/72rc5
Screens version
3.20.0
React Native version
0.72.0-rc.5
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: