OkHttp version issue #1634
Unanswered
ivaylopenevmg
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @ivaylopenevmg, thank you for reaching out! Downgrading the OkHttp version will unfortunately not work with our library and will result in runtime crashes. You could consider using v4.x.x of our library, since it is not using OkHttp. In case you need to use v5.x.x you will have to use OkHttp 4 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We are facing an Android integration issue with the Adyen library. The issue is related to same dependencies conflict but with different versions, and more specifically: com.squareup.okhttp3:okhttp
Our version: com.squareup.okhttp3:okhttp:3.14.9 (coming from com.squareup.retrofit2:retrofit:2.11.0)
Ayden version: com.squareup.okhttp3:okhttp:4.12.0
The reason why the latest version of Retrofit is using older okhttp3:okhttp:3.14.9 is answered here.
We've tried using the more latest version 4.12.0 for our code, but this was not possible as many additional issues arise.
Our question is, is it safe to force version 3.14.9 for Ayden? The dependency graph for Ayden will then look like this:
+--- com.adyen.checkout:drop-in-compose:5.3.1
| +--- com.adyen.checkout:drop-in:5.3.1
| | +--- com.adyen.checkout:3ds2:5.3.1
| | | +--- com.adyen.checkout:ui-core:5.3.1
| | | | +--- com.adyen.checkout:components-core:5.3.1
| | | | | +--- com.adyen.checkout:checkout-core:5.3.1
| | | | | | +--- androidx.annotation:annotation:1.7.1 ()
| | | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 ()
| | | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 ()
| | | | | | +--- org.jetbrains.kotlin:kotlin-parcelize-runtime:1.9.22
| | | | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 ()
| | | | | | | --- org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.9.22
| | | | | | | --- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 ()
| | | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 ()
| | | | | | --- com.squareup.okhttp3:okhttp:4.12.0 -> 3.14.9 (*)
Beta Was this translation helpful? Give feedback.
All reactions