dio-http-cache icon indicating copy to clipboard operation
dio-http-cache copied to clipboard

Upgrade to Support Flutter 2.0

Open SmarterVision opened this issue 4 years ago • 8 comments

The package dependencies do not support the current stable version of Flutter 2.0.x

SmarterVision avatar Mar 05 '21 15:03 SmarterVision

Yes please

pratikbaid3 avatar Mar 06 '21 09:03 pratikbaid3

Here too

ghenry avatar Mar 08 '21 11:03 ghenry

Yes please, same here!

haydgately avatar Mar 09 '21 11:03 haydgately

That's updated pubspec.yaml The only change in code needed is replacing MD5 to Hash in CacheManager

name: dio_http_cache
description: http cache lib for Flutter dio like RxCache.It use sqflite as disk cache,and google/quiver-dart/LRU strategy as memory cache.
version: 0.2.11
authors:
  - Hurshi <[email protected]>
homepage: https://github.com/hurshi/dio-http-cache

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  quiver: ^3.0.0
  json_serializable: ^4.0.2
  json_annotation: ^4.0.0
  dio: ^4.0.0-beta7
  sqflite: ^2.0.0+2
  path: ^1.8.0
  crypto: ^3.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^1.11.5

flutter:
  module:
    androidX: true

@hurshi Please fix dependencies, it is quick and painless task.

slavap avatar Mar 10 '21 02:03 slavap

Any update? Thank you.

deadsoul44 avatar Mar 21 '21 14:03 deadsoul44

See #84 for a PR.

erickok avatar Mar 24 '21 08:03 erickok

up

muhammadsaddamnur avatar Apr 06 '21 16:04 muhammadsaddamnur

https://pub.dev/packages/dio_cache_interceptor

deadsoul44 avatar Apr 06 '21 16:04 deadsoul44