Fresco: Incompatibility with AndroidX

Created on 18 Apr 2019  路  5Comments  路  Source: facebook/fresco

Description

In a project using the AndroidX library and Fresco, I need to explicitly enable the jetifier to build the project.

Solution

Release a new version of the Fresco lib that targets AndroidX.

I see the code is already migrated, do you have a planned release date that will include the AndroidX support?

question

Most helpful comment

Fresco 2.0.0 is now available that requires AndroidX: https://github.com/facebook/fresco/releases/tag/v2.0.0

For non-AndroidX builds, please continue using v1.13.0

All 5 comments

Right now, we don't want to force everybody using Fresco to migrate their whole app to AndroidX. Fresco already supports AndroidX, as you mentioned you can always use Jetifier - but you cannot go back once we release AndroidX versions.

At some point, we'll start publishing AndroidX releases, but we're not sure yet when (since we have to bump the major version for this).

Fresco 2.0.0 is now available that requires AndroidX: https://github.com/facebook/fresco/releases/tag/v2.0.0

For non-AndroidX builds, please continue using v1.13.0

@oprisnik Fresco 2.0.0 has a transient dependency on the support libs through stetho, which prevents turning off jetifier.

@oprisnik I dowloaded v1.14.2, it still depends on androidx..
image

Sorry, seems that 1.13.0 is the one to go, I'll update the comment above.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hanhmh1203 picture hanhmh1203  路  4Comments

sungerk picture sungerk  路  3Comments

zewenwang picture zewenwang  路  4Comments

cococool picture cococool  路  4Comments

rhettor picture rhettor  路  3Comments