diff --git a/Example/package.json b/Example/package.json index 921686128b..5ea882bbd1 100644 --- a/Example/package.json +++ b/Example/package.json @@ -27,7 +27,7 @@ "react": "18.2.0", "react-native": "0.72.4", "react-native-gesture-handler": "^2.13.1", - "react-native-reanimated": "file:../react-native-reanimated-3.5.0.tgz", + "react-native-reanimated": "file:../react-native-reanimated-3.6.0.tgz", "react-native-restart": "^0.0.27", "react-native-safe-area-context": "^4.7.1", "react-native-screens": "link:../", diff --git a/Example/yarn.lock b/Example/yarn.lock index e2b227cddc..5cc1ef82fa 100644 --- a/Example/yarn.lock +++ b/Example/yarn.lock @@ -6940,9 +6940,9 @@ react-native-iphone-x-helper@^1.3.0: resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz#20c603e9a0e765fd6f97396638bdeb0e5a60b010" integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg== -"react-native-reanimated@file:../react-native-reanimated-3.5.0.tgz": - version "3.5.0" - resolved "file:../react-native-reanimated-3.5.0.tgz#b9431c0a8b9934751c840a1005d40054505bba4f" +"react-native-reanimated@file:../react-native-reanimated-3.6.0.tgz": + version "3.6.0" + resolved "file:../react-native-reanimated-3.6.0.tgz#8b9ee01f58708a02a1a2dc5adcb206537af8e7a3" dependencies: "@babel/plugin-transform-object-assign" "^7.16.7" "@babel/preset-typescript" "^7.16.7" diff --git a/android/build.gradle b/android/build.gradle index 1240053ee2..2d902ee72b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -37,7 +37,7 @@ def shouldUseCommonInterfaceFromReanimated() { def json = new JsonSlurper().parseText(inputFile.text) def reanimatedVersion = json.version as String def (major, minor, patch) = reanimatedVersion.tokenize('.') - return (Integer.parseInt(major) == 2 && Integer.parseInt(minor) >= 3) || Integer.parseInt(major) == 3 + return Integer.parseInt(major) >= 3 && Integer.parseInt(minor) >= 6 } else { return false } diff --git a/package.json b/package.json index 7560e8f3a8..12616c4d2c 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "react-dom": "^18.2.0", "react-native": "0.72.4", "react-native-gesture-handler": "^2.13.3", - "react-native-reanimated": "file:./react-native-reanimated-3.5.0.tgz", + "react-native-reanimated": "file:./react-native-reanimated-3.6.0.tgz", "react-native-safe-area-context": "^4.7.2", "react-native-windows": "^0.64.8", "react-test-renderer": "^18.2.0", diff --git a/react-native-reanimated-3.5.0.tgz b/react-native-reanimated-3.5.0.tgz deleted file mode 100644 index 9807db1a06..0000000000 Binary files a/react-native-reanimated-3.5.0.tgz and /dev/null differ diff --git a/react-native-reanimated-3.6.0.tgz b/react-native-reanimated-3.6.0.tgz new file mode 100644 index 0000000000..ac05970f94 Binary files /dev/null and b/react-native-reanimated-3.6.0.tgz differ diff --git a/yarn.lock b/yarn.lock index 56d32e7cbc..16675053ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8315,9 +8315,9 @@ react-native-iphone-x-helper@^1.3.0: resolved "https://registry.yarnpkg.com/react-native-iphone-x-helper/-/react-native-iphone-x-helper-1.3.1.tgz#20c603e9a0e765fd6f97396638bdeb0e5a60b010" integrity sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg== -"react-native-reanimated@file:./react-native-reanimated-3.5.0.tgz": - version "3.5.0" - resolved "file:./react-native-reanimated-3.5.0.tgz#b9431c0a8b9934751c840a1005d40054505bba4f" +"react-native-reanimated@file:./react-native-reanimated-3.6.0.tgz": + version "3.6.0" + resolved "file:./react-native-reanimated-3.6.0.tgz#8b9ee01f58708a02a1a2dc5adcb206537af8e7a3" dependencies: "@babel/plugin-transform-object-assign" "^7.16.7" "@babel/preset-typescript" "^7.16.7"