[Hot-fix] Need to await for handling refresh token
(cherry picked from commit e9a43fc010b66d5c6ca9a38ee593dda97da8dd9f)
This commit is contained in:
committed by
Dat H. Pham
parent
f71192ffa9
commit
cb7866adb9
@@ -94,9 +94,9 @@ class AuthorizationInterceptors extends QueuedInterceptorsWrapper {
|
|||||||
log('AuthorizationInterceptors::onError:>> _validateToRefreshToken');
|
log('AuthorizationInterceptors::onError:>> _validateToRefreshToken');
|
||||||
|
|
||||||
if (PlatformInfo.isIOS) {
|
if (PlatformInfo.isIOS) {
|
||||||
_handleRefreshTokenOnIOSPlatform();
|
await _handleRefreshTokenOnIOSPlatform();
|
||||||
} else {
|
} else {
|
||||||
_handleRefreshTokenOnOtherPlatform();
|
await _handleRefreshTokenOnOtherPlatform();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (extraInRequest.containsKey(FileUploader.uploadAttachmentExtraKey)) {
|
if (extraInRequest.containsKey(FileUploader.uploadAttachmentExtraKey)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user