MyGit

v2.1.0

whataa/pandora

版本发布时间: 2020-03-13 14:47:11

whataa/pandora最新发布版本:v2.1.0(2020-03-13 14:47:11)

  1. 移除OKHttpURLConnection库,不再支持对使用Android自带网络库的日志拦截;

从该版本开始,pandora和OkHttp具体版本无关;

  1. 新增 gradle-plugin 插件,可将pandora-interceptor自动注入到所有OkHttp对象中;

在此之前需要手动调用addInterceptor(Pandora.get().getInterceptor()),并且无法对第三方库中的网络请求进行拦截;


  1. Remove OKHttpURLConnection, No longer supports log interception for Android's own network library.

since 2.1.0, Pandora is independent of the specific version of OkHttp

  1. Add gradle-plugin , it can inject pandora-interceptor into okhttp automatically.

In the past, we need to manually invoke 'addInterceptor(pandora.get ().getinterceptor ())' , and can't intercept network requests in third-party libraries.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2020-03-13发行的版本