Upgrading React Native projects often leads to compatibility conflicts with libraries like react-native-gesture-handler and react-native-reanimated, causing app instability or crashes.
To fix this problem you need to Downgrade react-native-gesture-handler to v2.14.0 and react-native-reanimated to v3.6.2 from package.json
"react-native-gesture-handler": "~2.14.0",
"react-native-reanimated": "3.6.2",
This approach isn't the sole solution, there are many solutions to fix this problem but this is the easiest one check also this solution and this solution from stackoverflow
I hope this worked for you!