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 · 14 comments
Open

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

aloisdeniel opened this issue Jun 21, 2019 · 14 comments

Comments

@aloisdeniel
Copy link

@aloisdeniel 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 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

@humblerookie humblerookie commented Jun 28, 2019

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

@hurshi
Copy link

@hurshi 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
Copy link

@jogboms jogboms commented Aug 16, 2019

Ok? I think we still should?

@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
Copy link
Member

@wendux wendux commented Sep 20, 2019

We have some specifications for third-party libraries:

  • All plugins and libraries should support Dio 4.x
  • Having detailed documentation and examples

@Milad-Akarie
Copy link

@Milad-Akarie Milad-Akarie commented Oct 3, 2019

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

@stale
Copy link

@stale stale bot commented Nov 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

@stale stale bot added the stale label Nov 2, 2019
@stale stale bot closed this Nov 9, 2019
@ligun123
Copy link

@ligun123 ligun123 commented Dec 6, 2019

@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

@diefferson diefferson commented Feb 28, 2020

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

@salomaosnff salomaosnff commented Aug 18, 2020

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 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 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
@flutterchina flutterchina deleted a comment from stale bot Nov 28, 2021
@flutterchina flutterchina deleted a comment from stale bot Nov 28, 2021
@assemmarwan
Copy link

@assemmarwan assemmarwan commented Jan 14, 2022

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

@morlay
Copy link

@morlay 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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet