From 9b9162048bacb51c3cd1c9986338454fc8d4a145 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 11 Jul 2023 04:04:10 -0700 Subject: [PATCH] Fresco to 3.1.3 (#38275) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38275 This bumps the version of Fresco to the latest major. I add to add a couple of changes: 1. Some of the infra has been moved to a different package called `middleware` which I had to add 2. Flipper Fresco plugin has changed ownership, so I had to use the new coordinates. Changelog: [Android] [Changed] - Fresco to 3.0.0 Reviewed By: mdvacca Differential Revision: D47337443 fbshipit-source-id: 1df78e624bcbf0200145fbee5780e2a1697fcb16 --- ReactAndroid/build.gradle | 1 + ReactAndroid/gradle.properties | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 35b1c9ac7801e2..66bd93c329de7b 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -771,6 +771,7 @@ dependencies { api("com.facebook.fbjni:fbjni:${FBJNI_VERSION}") api("com.facebook.fresco:fresco:${FRESCO_VERSION}") + api("com.facebook.fresco:middleware:${FRESCO_VERSION}") api("com.facebook.fresco:imagepipeline-okhttp3:${FRESCO_VERSION}") api("com.facebook.fresco:ui-common:${FRESCO_VERSION}") api("com.facebook.infer.annotation:infer-annotation:${INFER_ANNOTATIONS_VERSION}") diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index 75da8dff818754..74cb523888c67c 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -8,7 +8,7 @@ ANDROIDX_TEST_VERSION=1.1.0 ANDROIDX_TRACING_VERSION=1.1.0 ASSERTJ_VERSION=3.21.0 FBJNI_VERSION=0.3.0 -FRESCO_VERSION=2.5.0 +FRESCO_VERSION=3.1.3 INFER_ANNOTATIONS_VERSION=0.18.0 JAVAX_INJECT_VERSION=1 JSR305_VERSION=3.0.2