cloudinary_android icon indicating copy to clipboard operation
cloudinary_android copied to clipboard

Bad version of the SoLoader SDK used in Cloudinary Download SDK

Open ivanovmeya opened this issue 1 year ago • 3 comments

Bug report for Cloudinary Android SDK

com.cloudinary:cloudinary-android-download:2.8.0 depends on facebook fresco 2.6.0 (com.facebook.fresco:fresco:2.6.0), which uses bad version of SoLoader. 0.10.1

Describe the bug in a sentence or two.

When I try to upload release build to Google Play console, while automatic checks it rejects the build with error:

Bad version of the SoLoader SDK Your app uses a version of the SoLoader SDK that can cause crashes on 64 bit-only devices. To resolve this, update the SoLoader SDK to version 0.10.4 or higher.

Please update Fresco dependency, otherwise people using your SDK can't upload releases to GP

image

ivanovmeya avatar Aug 29 '24 06:08 ivanovmeya

Hey @ivanovmeya. Thanks for flagging this. This isn't a direct dependency of ours, but rather, a dependency of one of our dependencies. That being said, we have identified where this issue is coming from and have ticketed this up internally (ref SNI-8215) to get resolved in the next few sprints.

Once we have an update to provide, I'll let you know here.

Thanks!

dannyv-cloudinary avatar Aug 29 '24 09:08 dannyv-cloudinary

As a workaround you can force gradle to use a safe version of soloader.

    implementation(libs.cloudinary)
    constraints {
        implementation("com.facebook.soloader:soloader:0.10.4") {
            because("previous versions crash on some 64bit devices")
        }
    }

TomBell-Trove avatar Sep 19 '24 00:09 TomBell-Trove

Hey @ivanovmeya, The issue has been resolved. Please let us know if it works for you. Thanks,

momoip avatar Sep 25 '24 15:09 momoip