Cronet是什么,引用官方的解释,如下:
Cronet is the networking stack of Chromium put into a library for use on mobile. This is the same networking stack that is used in the Chrome browser by over a billion people. It offers an easy-to-use, high performance, standards-compliant, and secure way to perform HTTP requests. Cronet has support for both Android and iOS. On Android, Cronet offers its own Java asynchronous API as well as support for the java.net.HttpURLConnection API. This document gives a brief introduction to using these two Java APIs.
近期由于项目需求,我们对网易新闻客户端做了 android 8.0的适配工作。经过一段时间的灰度完美上线了,大家都很开心。但好景不长,反馈系统了出现了几条让我们关注的问题,8.0系统上桌面 Widget 经常无法刷新数据。
看到此反馈,我们拉去了反馈用户的日志,发现确实是产生了问题,又查看了桌面 widget 的代码实现,发现这个问题果然是我们没有考虑到导致的。