-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [IOPID-1714] IOS crashes on EIC malformed URLs (#5660)
## Short description > [!Warning] > This PR depends on pagopa/io-cie-sdk#51 > [!Important] > The misleading copy on the error page under the NFC Session Manager is not a subject of this PR. > [!Tip] > Translations ✅ This PR update the `io-cie-sdk` library to handle malformed responses to avoid crashes on iOS devices in those use cases. <details><summary>demo</summary> <p> | Generic error on iOS NFC Session Manager Alert | | - | | <video src="https://github.com/pagopa/io-app/assets/16268789/22d3ba0b-d1a4-46c9-aeaf-9eac1f7cdd5c" /> | </p> </details> ## List of changes proposed in this pull request - Fix UI regression in `LoadingSpinnerOverlay`. - Add a generic error message in case of malformed URLs. ## How to test Run the app in production with a real iOS device and try to login with EIC several times. No crash'd happen. --------- Co-authored-by: mariateresaventura <[email protected]> Co-authored-by: Mario Perrotta <[email protected]>
- Loading branch information
1 parent
94271fc
commit 9c640a4
Showing
6 changed files
with
40 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3343,10 +3343,10 @@ | |
write-yaml-file "^4.1.3" | ||
yargs "^15.0.1" | ||
|
||
"@pagopa/[email protected].0": | ||
version "1.2.0" | ||
resolved "https://registry.yarnpkg.com/@pagopa/react-native-cie/-/react-native-cie-1.2.0.tgz#7c664e810dfb4ea4e86c2a1a9e7c92ce481781a2" | ||
integrity sha512-Dge9dKfsyqNvdc6cn/kEKoAGRQtvsVkO7zNz/oK/CgBGnw9V0h0A1PlogjvN1gsFpGMVuCOC3UiZocxMK95/0A== | ||
"@pagopa/react-native-cie@^1.2.1": | ||
version "1.2.1" | ||
resolved "https://registry.yarnpkg.com/@pagopa/react-native-cie/-/react-native-cie-1.2.1.tgz#f38ca7c714c4943da839d232a4c076cc78f0d833" | ||
integrity sha512-6v5DAzy5aTTBag+1idSyClTWRBhZ66kPoh5WXGxZsbKQQSolWhcTyl7pmWDeVG69UnkhIuy8ggXLGQnkrfOSOw== | ||
|
||
"@pagopa/ts-commons@^10.15.0": | ||
version "10.15.0" | ||
|