Comments (3)
对于OKHttp这一块的问题我确实没搞好,没有预料到大家的OKHttp版本差异如此大。
这里说下Pandora严重依赖OKHttp的原因:其实最初Pandora不依赖OKHttp的具体版本号,后面想为那些使用Android自带网络库请求的项目实现网络拦截从而使用了较多OKHttp的类和API,这些随时可能随着OKHttp的版本变化的变化,导致现在很被动。
因此我计划将上面提到的功能拆分为另一个子库,按需依赖。因此目前建议你先使用你需要的OKHttp版本对应的Pandora版本,感谢你的提议。
from pandora.
OKHttpUrlConnection 是为实现对Android自带网络库相关项目的网络拦截而引入的,但该库已废弃已久,相关API已经随着OKHttp的更新严重脱节,实在无法兼容,且引起的issue大于带来的收益,因此决定将其从Pandora中移除。
该变动于 2.1.0 版本生效。
在此之后pandora不再依赖OKHttp的具体版本号,完全兼容。
如有冲突,可自行通过exclude排除。
from pandora.
from pandora.
Related Issues (20)
- 华为CAM-TL00H摇一摇不起作用 HOT 2
- 数据库读取崩溃问题 HOT 11
- 空指针问题 HOT 5
- 尝试打开,为什么要先复制文件再去用其它软件打开 HOT 2
- ERROR: Failed to resolve: com.github.whataa:pandora-no-op:v2.0.5 HOT 1
- Support proguard/R8 mapping.txt file in crash logs screen HOT 1
- 文件上传问题 HOT 1
- 该工具会导致Fuel网络请求框架无法正常网络请求 HOT 1
- Compatibility issues in latest version (from v2.0.3 to v2.0.6) HOT 7
- 使用Android Studio gradle build tools 3.6以上安装到手机上打开崩溃找不到R$drawable HOT 1
- Failed to resolve : androidx
- Add screen recording option
- Android 10.0 FileProvider导致运行就闪退 HOT 3
- Bug in English translation of permission request string
- 添加okhttp plugin,启动后崩溃
- Cannot launch debugger on emulator
- Duplicate network logs HOT 1
- Is it possible to use pandora in release mode?
- 编译报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandora.