Updated react-native to 0.71 #4894
Ticket(s) / Related Merge Requests
Summary of Changes
Updated the project to RN 0.71.
Many dependencies had to be updated in order to update RN
Updated dependencies
- Stripe
- Camera roll
- All expo packages (SDK 48)
- Code-push
- Flash-list
- Slider
- Lottie
- Gesture handler
- MMKV Storage
- Safe area context
- Screens
- SVG
- Vision Camera
- WebView
- Babel
- Jest
- eslint
- Prettier
- Typescript
- Boost splash
- Lottie-ios
- RN Calendars
- Testing library
Problems faced
-
Many changes to the native files
-
Babel errors
-
Different versions of the same dependency
-
Problem building vision camera (It fails to build with Kotlin 1.8, a patch was necessary)
-
Response type errors caused by the web3 dependency
-
The activateKeepAwake method is deprecated
-
iOS build issues with Flipper
-
iOS build issues with the share-menu package
-
iOS build issues with expo SDK 48
-
Typescript errors with react-native-vector-icons (https://github.com/oblador/react-native-vector-icons/issues/1446)
-
Typescript errors with react-native-elements (Patch was necessary)
-
Typescript error with i18next and react-i18next https://github.com/i18next/next-i18next/issues/1795 https://github.com/i18next/react-i18next/issues/1568
-
Spec test where not working at all
-
More than 120 tests were broken
-
Changelog file updated with this template (one or more)
Testing Considerations
(Share which areas to focus on while testing this MR)
Regression Scope
(Can this change cause another regression issue? Which areas to focus on for regression testing?)
Platform Affected (web, mobile, etc)
(Which platforms are affected by this change? Web, Mobile, or Both?)
Developer Testing Completed
(What has been tested already?)
Screenshots
(Any extra UI screens that can be shared)
Does this impact
-
Localization -
Dark/light mode -
Guest mode