I finish a certain project under the Android platform where the Android smartphone is a client and sends requests to the server, receives responses, etc., in general, a classic). There were problems, since debugging and testing on your smartphone (Android 7.0) was not revealed, everything was excellent and production was prepared, but when they brought a whole batch of combat smartphones to be used in the business project, it turned out that they are capricious Chinese 4.4 .2, revealed a terrible flaw. All requests can be done only on certified ssl sites (domains), when you try to request an http application crashes. How can you make friends with the usual Chinese HTTP?
- What http client are you using? OkHttp? Apache? - Ruslan Yagupov
- Native sdk HttpClient httpclient = new DefaultHttpClient (); - GoodRA
- oneStack trace in question add. - Sergey Gornostaev
- oneThere were problems with him and he was already excluded from the SDK, why are you using it? Well, maybe the problem is not the case, show the error log, or something. And what about the stock browser - it also does not open "non-secure" sites? - woesss
|