Comments (5)
Hi juanamd,
the okhttp3 client is currently used in some , so as long as you are using a okhttp3 version you should be fine.
You would have to use okhttp 3.12.x which is included in RN 0.63, so removing the dependency should work fine..
But since the lib is using okhttp directly as an import I will keep the requirement in the lib.
from react-native-blob-util.
Fair enough.
Maybe adding a warning/guide for users who target API 20 and below in the readme file would be a good workaround.
I still believe that pinning the dependency to a specific version instead of ":+" is a better option.
from react-native-blob-util.
Yes there you are basically right. At least this will ensure certain compatibility.
Also a note in the readme might be a good idea. I will address this with an upcoming release
from react-native-blob-util.
Hi @juanamd ,
after further checking I decided that that fixing the version to okhttp 3.12.+ should be fine. So you should be able to use the newest version without the need to modify it for your Android 5 devices :)
from react-native-blob-util.
Thanks!
from react-native-blob-util.
Related Issues (20)
- Is it possible to create a blob from a local image uri? HOT 5
- there is warn when ios building
- How to async/await in `readStream`
- react-native-blob-util--fs.isDir Invocation Error
- iOS privacy manifest HOT 1
- Android Download Manager notification only shows up at the end
- response.json() is throwing an Error in Android saying No such file or directory HOT 1
- dest.exists() check fails in writeStream() in files of type content:// HOT 1
- Using writeStream() with content:// Uris HOT 1
- File gets corrupted with readStream() with base64 when using bufferSize defaults
- java to kotlin change example HOT 5
- pathForAppGroup typescript error HOT 1
- Error opening APK file: installation package is corrupt HOT 3
- Integration network debugging react-native-debugger HOT 1
- Crash when readStream on IOS
- Problem with java.lang.RuntimeException: java.lang.IllegalStateException: Use of own trust manager but none defined HOT 1
- wifiOnly option doesn't work on iOS as expected
- copyToMediaStore does not work on Android versions lower than 10 HOT 2
- Upload Video [Error: The operation couldn’t be completed. Message too long] HOT 3
- [Error: Unexpected FileStorage response file: null] on android 14 HOT 1
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 react-native-blob-util.