Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Welcome to submit Dio's third-party plugins and related libraries here #347

Open
aloisdeniel opened this issue Jun 21, 2019 · 21 comments
Open
Labels
e: good for newcomers Good for newcomers p: ecosystem Targeting packages that's under the dio's ecosystem s: best practise It's the best way to do something so far

Comments

@aloisdeniel
Copy link

aloisdeniel commented Jun 21, 2019

After searching for a while for a caching solution, I created my own interceptor. But, maybe another solution exists and I missed it ...

It would be great to have a list of third party interceptors and transformers in the README. Having conventions for plugin would be very appreciated too (like naming, API, usage, etc ...).

Here two packages of mine :

@jogboms
Copy link

jogboms commented Jun 22, 2019

After I saw your plugins, I was about to come here and suggest either an "awesome-dio" or a section plugin authors can collaborate and update on that wouldn't affect the current lifecycle.

@humblerookie
Copy link

This would be great, I have a small gist on built_value integration with dio.

@hurshi
Copy link

hurshi commented Jul 16, 2019

It would be useful to have this kind of list, and I have a cache lib too :

  • dio-http-cache : a simple cache library for Dio like Rxcache in Android

@wendux wendux added the hot label Jul 16, 2019
@wendux wendux pinned this issue Jul 16, 2019
@stale stale bot added the stale label Aug 15, 2019
@jogboms

This comment was marked as off-topic.

@stale stale bot removed the stale label Aug 16, 2019
@stale stale bot added the stale label Sep 15, 2019
@wendux wendux changed the title Having a documentation section dedicated to third party plugins Welcome to submit Dio's third-party plugins and related libraries here Sep 20, 2019
@stale stale bot removed the stale label Sep 20, 2019
@wendux

This comment was marked as outdated.

@Milad-Akarie
Copy link

@wendux
Please consider adding this one to your ducomention.
PrettyDioLogger

@stale

This comment was marked as off-topic.

@stale stale bot added the stale label Nov 2, 2019
@stale stale bot closed this as completed Nov 9, 2019
@WhoIsYourBaby
Copy link

@wendux
Please consider adding this one to your ducomention.
dcache_flutter

Dcache_flutter is a library both for Dio 3.x and 2.x. Dcache_flutter uses sqflite as disk cache. It is used in our product. It is fully tested and stable. Maybe others will like it too.

@diefferson
Copy link

Hello I created a Lib to make Certificate Pinning on Flutter with a Dio interceptor to uses in Dio:

http_certificate_pinning

I think that is interesting add into Dio documentation.

@salomaosnff
Copy link

I created an oauth 2.0 authentication plugin for dio I think it would be interesting to add it in the documentation.

https://pub.dev/packages/oauth_dio

@rodion-m
Copy link
Contributor

rodion-m commented Aug 1, 2021

Here is a new package for retry with Dio. It supports dio 4.0 and null safety: https://pub.dev/packages/dio_smart_retry

This is a next generation of an abandoned dio_retry package.
By default, the request will be retried only for appropriate retryable http statuses.
Also, it supports dynamic delay between retries.

@HugoHeneault
Copy link

HugoHeneault commented Nov 5, 2021

Here's an interceptor we created to transform your dio requests in curl requests: https://pub.dev/packages/curl_logger_dio_interceptor

Supports dio: ^4.0.1 and null-safety

image

@wendux wendux reopened this Nov 28, 2021
@cfug cfug deleted a comment from stale bot Nov 28, 2021
@cfug cfug deleted a comment from stale bot Nov 28, 2021
@assemmarwan
Copy link

assemmarwan commented Jan 14, 2022

An interceptor that pretty prints requests/responses with ability to customize the logger.

@morlay
Copy link
Contributor

morlay commented Jan 19, 2022

Instead of using interceptors, I wrap dio adapters with golang's http.RoundTripper pattern.

Pub: https://pub.dev/packages/roundtripper
Github: https://github.com/morlay/roundtripper

For impletementing atom processings and compose them in required.

Case Like:

@519430378qqcom
Copy link

@wendux Recommend your own plug-in
A plug-in that captures requests and views them within the application, providing functions such as request replication and JSON expansion
Pub: https://pub.dev/packages/dio_log
Github: https://github.com/flutterplugin/dio_log

@AlexV525

This comment was marked as outdated.

@AlexV525 AlexV525 added e: good for newcomers Good for newcomers p: ecosystem Targeting packages that's under the dio's ecosystem s: best practise It's the best way to do something so far labels Feb 13, 2023
@tatsuyuki25
Copy link

Hello I created a Lib to make api gen like retorfit in dio.

cinch

I think that is interesting add into Dio documentation.

@mdddj
Copy link

mdddj commented Feb 21, 2023

dio Listening tool (Android Studio&IDEA)
https://github.com/mdddj/dd_flutter_idea_plugin/blob/master/dio.md

@hurelhuyag
Copy link

Easy to use cookie handler: https://github.com/hurelhuyag/dio_cookie_cached_handler

@urusai88
Copy link

urusai88 commented Jan 3, 2024

Hi!
We created a simple request library with type transforming based on dio which my team using in production at our own projects! It provides a chopper style type safe api without needing a generator!
You can check it here: https://pub.dev/packages/tio

@kuhnroyal
Copy link
Member

That looks pretty cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e: good for newcomers Good for newcomers p: ecosystem Targeting packages that's under the dio's ecosystem s: best practise It's the best way to do something so far
Projects
None yet
Development

No branches or pull requests