-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39367 from Expensify/revert-37483-feat/vision-cam…
…era-v4 (cherry picked from commit f3d18fe)
- Loading branch information
Showing
6 changed files
with
49 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/node_modules/react-native-vision-camera/android/build.gradle b/node_modules/react-native-vision-camera/android/build.gradle | ||
index ddfa243..bafffc3 100644 | ||
--- a/node_modules/react-native-vision-camera/android/build.gradle | ||
+++ b/node_modules/react-native-vision-camera/android/build.gradle | ||
@@ -334,7 +334,7 @@ if (ENABLE_FRAME_PROCESSORS) { | ||
def thirdPartyVersions = new Properties() | ||
thirdPartyVersions.load(new FileInputStream(thirdPartyVersionsFile)) | ||
|
||
- def BOOST_VERSION = thirdPartyVersions["BOOST_VERSION"] | ||
+ def BOOST_VERSION = thirdPartyVersions["BOOST_VERSION"] ?: "1.83.0" | ||
def boost_file = new File(downloadsDir, "boost_${BOOST_VERSION}.tar.gz") | ||
def DOUBLE_CONVERSION_VERSION = thirdPartyVersions["DOUBLE_CONVERSION_VERSION"] | ||
def double_conversion_file = new File(downloadsDir, "double-conversion-${DOUBLE_CONVERSION_VERSION}.tar.gz") | ||
@@ -352,7 +352,7 @@ if (ENABLE_FRAME_PROCESSORS) { | ||
|
||
task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) { | ||
def transformedVersion = BOOST_VERSION.replace("_", ".") | ||
- def srcUrl = "https://boostorg.jfrog.io/artifactory/main/release/${transformedVersion}/source/boost_${BOOST_VERSION}.tar.gz" | ||
+ def srcUrl = "https://archives.boost.io/release/${transformedVersion}/source/boost_${BOOST_VERSION}.tar.gz" | ||
if (REACT_NATIVE_VERSION < 69) { | ||
srcUrl = "https://github.com/react-native-community/boost-for-react-native/releases/download/v${transformedVersion}-0/boost_${BOOST_VERSION}.tar.gz" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters