Skip to content

Commit

Permalink
Fresco to 3.0.0 (#38275)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
cortinico authored and facebook-github-bot committed Jul 11, 2023
1 parent 52698e7 commit 823839b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/react-native/ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,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}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ android {
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
exclude group:'com.squareup.okhttp3', module:'okhttp'
}
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
debugImplementation("com.facebook.fresco:flipper-fresco-plugin:${FLIPPER_FRESCO_VERSION}")
}

publishing {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Version of flipper SDK to use for this integration
FLIPPER_VERSION=0.182.0
FLIPPER_VERSION=0.182.0
FLIPPER_FRESCO_VERSION=3.0.0
2 changes: 1 addition & 1 deletion packages/react-native/ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ANDROIDX_TEST_VERSION=1.1.0
ANDROIDX_TRACING_VERSION=1.1.0
ASSERTJ_VERSION=3.21.0
FBJNI_VERSION=0.4.0
FRESCO_VERSION=2.5.0
FRESCO_VERSION=3.0.0
INFER_ANNOTATIONS_VERSION=0.18.0
JAVAX_INJECT_VERSION=1
JSR305_VERSION=3.0.2
Expand Down

0 comments on commit 823839b

Please sign in to comment.