Skip to content

Commit

Permalink
No going back to previous screen while loading FIMS InApp Browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Vangaorth committed Jan 30, 2025
1 parent bbc03d2 commit 1a01ead
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ export function* handleFimsAuthorizationOrImplicitCodeFlow(
return;
}

yield* put(fimsSignAndRetrieveInAppBrowserUrlAction.success());
yield* call(deallocateFimsResourcesAndNavigateBack);
yield* call(computeAndTrackInAppBrowserOpening);

try {
Expand All @@ -109,6 +107,9 @@ export function* handleFimsAuthorizationOrImplicitCodeFlow(
);
} catch (error: unknown) {
yield* call(handleInAppBrowserErrorIfNeeded, error);
} finally {
yield* put(fimsSignAndRetrieveInAppBrowserUrlAction.success());
yield* call(deallocateFimsResourcesAndNavigateBack);
}
}

Expand Down

0 comments on commit 1a01ead

Please sign in to comment.