-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with okhttp3 version >= 3.12.0 #155
Comments
Hi *BTW I tried to use the SDK with OkHttp 3.12.0 and everything worked. Thanks |
@rotembr - you mentioned " I tried to use the SDK with OkHttp 3.12.0 and everything worked." I too was finally able to get this working with TWO parts:
// AppID has an issue - an internal okhttp3 call that went away in okhttp3 3.13 so - have to FORCE
I still wish that whatever code change was made in AppID back in April 2020 that it gets included here ibm-bluemix-mobile-services/bms-clientsdk-android-core#70 but I'm not seeing that. Oddly - on my emulator, I have to force run chrome FIRST before the LaunchWidget is able to open. This clearly is a corner case, but probably should be investigated. |
The library uses internal parts of OkHttp3, namely
com.ibm.mobilefirstplatform.clientsdk.android.core.internal.ResponseImpl (34): import static okhttp3.internal.Util.UTF_8;
Using OkHttp3 internals is not a good practice. This was removed from OkHttp3 at version 3.12.0, which breaks appid-clientsdk-android.
The text was updated successfully, but these errors were encountered: