Is there any way to avoid storing api request and response in http_cache on Android rooted device.
I have already tried 'cache-control' but no luck.
OkHttp controls caching. If you want to disable caching, set cacheSize=0 in
node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network/OkHttpClientProvider.java
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With