fresco icon indicating copy to clipboard operation
fresco copied to clipboard

App may show wrong images after an app update if you add new images - Android

Open tiago-yoneda opened this issue 2 years ago • 4 comments

Description

Using version 2.6.0 We added several png assets in our app. Then after upgrading to the new version (not a fresh install) , some images showed up in the wrong place.

The thing is it does not happen 100% of the times we added an asset. But it did happen several times through our builds.

Solution

Downgrading to version 2.5.0 fixed it. We did not test other versions.

tiago-yoneda avatar Mar 18 '22 18:03 tiago-yoneda

Hi @tiago-yoneda , I am also facing the same issue. It is completely random, only on production build, and not for every users.

How do you downgrade to version 2.5.0?

I read online I should add the following lines before the dependencies in app/build.gradle:

configurations.all { resolutionStrategy { force "com.facebook.fresco:fresco:2.5.0" } }

Is this how you do it? The line above is enough? or do we have to add the same lines for every fresco 2.6.0 (like screenshot above)

image

Thank you so much for your help if you happen to pass by :)

pierroo avatar Oct 22 '22 10:10 pierroo

@pierroo I noticed they answered your question in that issue (#2667) thread. Hope it works for you.

tiago-yoneda avatar Nov 03 '22 19:11 tiago-yoneda

Yes indeed, I had to downgrade every single mention of fresco to 2.5.0 and eventually it worked, thank you :)

pierroo avatar Nov 03 '22 20:11 pierroo

@pierroo , it seems that a version 3.0.0 has been released, but I've yet to test it. However the the issue above #2667 they left a message saying our problem was fixed.

Let's hope that's the case.

tiago-yoneda avatar May 11 '23 18:05 tiago-yoneda