Sebastian Klaiber

Results 19 comments of Sebastian Klaiber

You could test it by replacing ``` fresh_dio: ^0.3.2 ``` with ``` fresh_dio: git: url: https://github.com/SebastianKlaiber/fresh.git path: packages/fresh_dio ``` in your pubspec.yaml

@felangel @vasilich6107 Is there anything else I can support? So that we can get on with the PR?

I'll check the related issue https://github.com/felangel/fresh/issues/29 and follow the steps to reproduce.

The refresh calls have definitely become less, but still too many. Maybe there is a way to clear the queue if the call was successful. ![image](https://user-images.githubusercontent.com/59142/179673802-abd958d0-8170-431b-8b82-82bfde351bcc.png) ![image](https://user-images.githubusercontent.com/59142/179673500-5c00e8a7-ab1e-46b7-8696-b77a88d56159.png)

Unfortunately, I could not find a way to clear all Queued Interceptors of a given type. Hopefully I have time to investigate a little more in this topic this week....

I think we could solve the Issue if we add an JWT Decoder and check if the access token is a valid JWT and then check if the JWT is...

@Gaurav192 thanks for helping out. I was busy the last time, releasing a new version of my app. I will check your changes today.

Unfortunately, we still have too many refresh calls here as well.

I checked out your repo and changed the version to the local path in the pubspec.yaml. I added a breakpoint and isEqual returns always true.

@felangel if you have a suggestion, I'm happy to help further with the implementation, just currently not sure what direction the implementation should go in. Provide some validation logic or...