Open alexrainman opened 9 years ago
Ehm? Why?
They say OkHttp is not standard. We are making a ticket requesting it so, we keep using Xamarin best practices to share http calls related code.
Who is they? Did someone from Xamarin specifically tell you not to use OKHttp or are you going strictly off documentation.
Using ModernHttpClient as is is almost a de facto standard given the wide number of Xamarin apps using it.
On Wed, Aug 12, 2015, 4:56 AM alexrainman notifications@github.com wrote:
They say OkHttp is not standard. We are making a ticket requesting it so, we keep using Xamarin best practices to share http calls related code.
— Reply to this email directly or view it on GitHub https://github.com/paulcbetts/ModernHttpClient/issues/176#issuecomment-130272023 .
When i said "they" i was talking about Mobile Iron. They dont support OkHttp on their wrapping technology for Android.
Guys, any idea on how to get message handler for one of those clients from PCL? I mean, i can implement an interface to implement in android and return me the handler ...
No, this is not possible. Either use the built-in Xamarin HttpClient or uh stop using this terrible wrapper and giving this company money
this issue can be closed - MobileIron now supports OkHttpClient (& ModernHttpClient). They don't however support certain abstractions on top of it (React native being one of them).
I'm in unsupported territory, so whether or not my implementation actually works would be irrelevant for this issue
Yes, we wroked closely with MobileIron to provide support for OkHttp.
alexrainman, I have a similar problem. what the solution?
Well right now its compatible. We worked with MobileIron to make OkHttp compatible with their tunneling technology so you should be ready to go.
Hi there,
Is it possible to use a different message handler in Android?
One of these will be ok:
java.net.HttpURLConnection java.net.ssl.HttpsURLConnection Android HttpClient DefaultHTTPClient, using the standard Apache HttpClient library with the org.apache.http.package name.
Cheers!