-
Notifications
You must be signed in to change notification settings - Fork 93
TF-3833 Fix failed to keep mobile app connect after network issue #3886
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
Merged
hoangdat
merged 1 commit into
master
from
bugfix/tf-3833-failed-to-keep-mobile-app-connect-after-network-issue
Aug 14, 2025
Merged
TF-3833 Fix failed to keep mobile app connect after network issue #3886
hoangdat
merged 1 commit into
master
from
bugfix/tf-3833-failed-to-keep-mobile-app-connect-after-network-issue
Aug 14, 2025
+336
−173
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: dab246 <tdvu@linagora.com>
This PR has been deployed to https://linagora.github.io/tmail-flutter/3886. |
tddang-linagora
approved these changes
Jul 21, 2025
chibenwa
approved these changes
Jul 21, 2025
hoangdat
reviewed
Jul 30, 2025
|
The I/flutter ( 3701): [TwakeMail] [ERROR] AuthenticationClientMobile::handleException: ErrorDetails = FlutterAppAuthPlatformErrorDetails(type: null,
I/flutter ( 3701): code: null,
I/flutter ( 3701): error: null,
I/flutter ( 3701): errorDescription: null,
I/flutter ( 3701): errorUri: null,
I/flutter ( 3701): domain null,
I/flutter ( 3701): rootCauseDebugDescription: null,
I/flutter ( 3701): errorDebugDescription: null) |
hoangdat
approved these changes
Aug 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
#3833
Reproduce
Screen.Recording.2025-07-18.at.01.37.16.mov
Root cause
We are using the
flutter_appauth
library to authenticate the account, get the token and refresh the token. This flow does not useDio
with the app, which results in theflutter_appauth
library'srefreshToken
returning a500
error, but we ignore it because it is not aDioError
. So the401
error from the request using the expired token is still returned.Solution
We will catch the
500
error fromflutter_appauth
and handle itDependency
flutter_appauth
to v9.0.1 flutter_appauth_web#1Resolved
demo.online-video-cutter.com.mp4
demo-web.mov