diff --git a/package.json b/package.json index 6c842ef87ebe4..15f77490df32a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "setup:docs": "./scripts/download-dependencies.sh", "setup:native": "./scripts/download-dependencies.sh && ./scripts/setup-react-android.sh", - "postinstall": "yarn-deduplicate && yarn workspace @expo/cli prepare && node ./tools/bin/expotools.js validate-workspace-dependencies && ([ ! -f node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java.orig ] && patch -d node_modules -p2 -f --backup < patches/react-native-reanimated+3.6.0.patch || true)", + "postinstall": "yarn-deduplicate && yarn workspace @expo/cli prepare && node ./tools/bin/expotools.js validate-workspace-dependencies", "lint": "eslint .", "tsc": "echo 'You are trying to run \"tsc\" in the workspace root. Run it from an individual package instead.' && exit 1" }, diff --git a/patches/react-native-reanimated+3.6.0.patch b/patches/react-native-reanimated+3.6.0.patch deleted file mode 100644 index d82d5a36dc02d..0000000000000 --- a/patches/react-native-reanimated+3.6.0.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java b/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java -index 2c6cb18..256906f 100644 ---- a/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java -+++ b/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java -@@ -90,32 +90,6 @@ public class ReanimatedUIManager extends UIManagerModule { - super.setChildren(viewTag, childrenTags); - } - -- /** -- * Replaces the View specified by oldTag with the View specified by newTag within oldTag's parent. -- * This resolves to a simple {@link #manageChildren} call, but React doesn't have enough info in -- * JS to formulate it itself. -- * -- * @deprecated This method will not be available in Fabric UIManager class. -- */ -- @ReactMethod -- @Deprecated -- public void replaceExistingNonRootView(int oldTag, int newTag) { -- super.replaceExistingNonRootView(oldTag, newTag); -- } -- -- /** -- * Method which takes a container tag and then releases all subviews for that container upon -- * receipt. -- * -- * @param containerTag the tag of the container for which the subviews must be removed -- * @deprecated This method will not be available in Fabric UIManager class. -- */ -- @ReactMethod -- @Deprecated -- public void removeSubviewsFromContainerWithID(int containerTag) { -- super.removeSubviewsFromContainerWithID(containerTag); -- } -- - /** - * Determines the location on screen, width, and height of the given view and returns the values - * via an async callback.