GithubHelp home page GithubHelp logo

Comments (3)

adam1929 avatar adam1929 commented on July 30, 2024

Hi @janwelocampo
Please run ./gradlew app:dependencies to see which version of 'okhttp' you have.
SDK contains dependency:
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
also
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' but this lib has no reason to be part of issue.
I checked content of 'okhttp' lib and I see Util.class there.

from exponea-android-sdk.

janwelocampo avatar janwelocampo commented on July 30, 2024

@adam1929
Please see this issue

If no okhttp version is specified, currently 5.0.0-alpha.x is used.
okhttp3.internal.Util class seems to have been moved to package level constants/functions in 5.0.0-alpha.x.

Please see
https://github.com/square/okhttp/blob/parent-5.0.0-alpha.10/okhttp/src/commonMain/kotlin/okhttp3/internal/-UtilCommon.kt

are we going to support alpha release?

For now, what I did was adding a configuration in gradle file so that all other libraries will be forced to use this version

configurations.all { resolutionStrategy { force "com.squareup.okhttp3:okhttp:$libVersion.okhttp3" force "com.squareup.okhttp3:logging-interceptor:$libVersion.okhttp3" } }

and set it on 4.10.0

from exponea-android-sdk.

adam1929 avatar adam1929 commented on July 30, 2024

Hi @janwelocampo so I hope you force okhttp 4.10.0 as solution.
We are not going to support alpha release of okhttp for some reasons.
Anyway a good question is if we are gooing to support okhttp v 5+ (because there is great chance that stable release will be 95% same as alpha). Answer is that we have no plan to do so, for now. We have to wait until stable release and than we should look at it and do changes to support both versions.

from exponea-android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.