-
Notifications
You must be signed in to change notification settings - Fork 50
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
Question about different versions #12
Comments
Hi @AndyScherzinger, yes, this library uses different namespace, which does not collide with those provided or not-provided by Android OS, thus it should not matter, what version of platform you target or what version of platform the user has. Truth is, that library itself is built with SDK v23, but again, it is both backward and forward compatible. And it does not affect in any way the API target you have in your application. What should be mentioned is, that using old HttpClient classes, may not work at all times, I've already seen some mentions about it having the same issues as platform provided one (ie. timeouts, I/O blocking, SSL handling problems). However if you use new HttpClient API, such as CloseableHttpClient, HttpClients interface, etc... there should be no issues on neither old or new APIs. If you're satisfied with the answer, please close this issue. Good luck ! |
Thank you very much for your quick answer! |
Hi @smarek
We are thinking about using the httpclient-android lib as a replacement for the formerly used apache httpclient library. One think I couldn't completely understand from the documentation on https://hc.apache.org/httpcomponents-client-4.5.x/android-port.html was if
httpclient-android-4.4.1.1
targeting v23 of Android is backwards compatible as in supported min-version since our app has v14 as the min version and is targeting v23 at the moment and will target v24 in the future. According to https://github.com/smarek/httpclient-android/blob/master/build.gradle#L22 I guess it does but just wanted to ask to make sure.Thanks in advance for all your efforts!
Andy
The text was updated successfully, but these errors were encountered: