-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [IOCOM-1936] Handling of InApp Browser opening failure for FIMS…
… SSO (#6450) ## Short description This PR adds the handling of the InApp Browser opening failure for the FIMS Authentication flow. |iOS|Android| |-|-| ||| ## List of changes proposed in this pull request - InApp Browser opening call has been wrapped in a try catch in order to catch the error, track it and warn the user with a Toast. - `login-utils` library to latest version (where errors are sent back to react-native with the same format between Android and iOS) - in-app `isLoginUtilsError` utility replaced with `the login-utils` one ## How to test Using the io-dev-api-server, edit the native code to reject the promise (following a standard error generation) and check that the error is properly tracked and displayed.
- Loading branch information
Showing
7 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2272,10 +2272,10 @@ | |
js-base64 "^3.7.7" | ||
zod "^3.22.4" | ||
|
||
"@pagopa/[email protected].6": | ||
version "1.0.6" | ||
resolved "https://registry.yarnpkg.com/@pagopa/io-react-native-login-utils/-/io-react-native-login-utils-1.0.6.tgz#b211e953eb05b76b43effc0d9d7be79767c361f9" | ||
integrity sha512-Dx1WPdqFaB76Wv8WgkLCIQoj9ADZeWyfe/GTnGWQKeIWnTe5v3socbEDdax9fh0asxizuTVzTVj962H2nCQxwg== | ||
"@pagopa/io-react-native-login-utils@^1.0.7": | ||
version "1.0.7" | ||
resolved "https://registry.yarnpkg.com/@pagopa/io-react-native-login-utils/-/io-react-native-login-utils-1.0.7.tgz#b92f9e04e15f724743367ff1bfd33a9ceddcd308" | ||
integrity sha512-+I8uT3w/4XkuPC4+Gmy/6LvR3CpUpjjHL6B4qgZQ15EVHtfI97zo3blC4ETPpWdx1T8e37AKu9ZEJIHjOexm/w== | ||
|
||
"@pagopa/io-react-native-wallet@^0.24.1": | ||
version "0.24.1" | ||
|