Closed paulschreiber closed 4 days ago
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?
Looks like this might be fixed with https://github.com/software-mansion/react-native-screens/pull/2527.
If you have capacity to patch your project with https://github.com/software-mansion/react-native-screens/pull/2531 and let me know whether it resolves it issue it would be great.
Once I get some confirmation I'll release a version with the fix.
Confirmed fixed in 4.3.0.
Thanks!
Description
In our app, after upgrading from react-native-screens 4.1.0 to 4.2.0, hitting the back button causes the app to crash with a
viewpager2 does not support direct child views
error.Crash occurs only on Android. No crash on iOS.
Error with stack trace:
Steps to reproduce
Snack or a link to a repository
https://github.com/techmatters/terraso-mobile-client/
Screens version
4.2.0
React Native version
0.75.4
Platforms
Android, iOS
JavaScript runtime
None
Workflow
Expo bare workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Android emulator
Device model
Pixel 6a API 35
Acknowledgements
Yes