Open dcalhoun opened 1 year ago
Noting that react-native-prompt-android
was removed in https://github.com/WordPress/gutenberg/pull/54096.
Regarding the dependencies not supporting yet the new architecture, starting in RN 0.72 we could use the feature New Renderer Interop Layer as a workaround.
TL;DR: With React Native 0.72, we are releasing an interop layer for both Android and iOS to use non-migrated libraries on New Architecture apps.
react-native-safe-area I would recommend replacing it with https://github.com/th3rdwave/react-native-safe-area-context
This issues tracks various tasks to upgrade third-party dependencies for the native mobile editor. The following tasks could likely be addressed individually as miniature projects.
What problem does this address?
React Native’s New Architecture could provide performance benefits (e.g. JSI) and may eventually be required for future React Native upgrades or compatibility with third-party dependencies.
What is your proposed solution?
Some prerequisite items may already have been completed (but have not been verified as complete), while some items may require a significant amount of work. If you can verify that an item is complete or would like to tackle an item, feel free to assign yourself and mark it off the list.
Prerequisites for Supporting the New Architecture in JavaScript
Enabling in an Android Library
Enabling in an iOS Library
Prerequisites for WPiOS
Prerequisites for WPAndroid
Third-Party Dependencies
Each third-party dependency will need to be upgraded to a version with New Architecture support or replaced entirely in this project.
react-native-get-random-values
react-native-safe-area-context
react-native-screens
react-native-svg
react-native-webview
@react-native-masked-view/masked-view
@react-native-clipboard/clipboard
react-native-reanimated
react-native-gesture-handler
react-native-linear-gradient
react-native-prompt-android
react-native-video
@react-native-community/slider
react-native-safe-area
react-native-fast-image
The following table represents the status of each third-party dependency's support for the new React Native architecture.