-
Notifications
You must be signed in to change notification settings - Fork 106
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
chore(Cross): [IOAPPX-346] Remove manually linked deps #5972
Merged
Conversation
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
…T-342-react-native-upgrade
CrisTofani
approved these changes
Jan 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tested on Android device, anything look perfectly working!
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.
Caution
Can cause runtime errors which crash the app, tests are very important.
Short description
This PR removes manually linked dependencies as they should support autolinking. Android only.
List of changes proposed in this pull request
How to test
To avoid runtime crashes due to improperly linked libraries, I'm adding a test for each removed dependency, unless not declared anymore, as an extra precaution. Tests are only required on Android. Clean the project before starting the tests:
jail-monkey
-> Test a complete an onboarding process;react-native-linear-gradient
-> TestIOScrollView.tsx
by navigating toProfile -> Design System -> IOScrollView
;react-native-share
-> Try to share a payment receipt. The system share menu should pop up and you should be able to share the document;react-native-fingerprint-scanner
-> Enable the fingering during the onboarding and test a login by using it;react-native-reanimated
-> Test animated pictograms by navigating toProfile -> Design System -> Animated Pictograms
;react-native-cookies/cookies
-> Test a CIE login on Android;react-native-flag-secure-android
-> Wallet > Add Payment Method > Take a snapshot > The snapshot cannot be taken;react-native-fs
-> Test the download from a message with attachments or enable the FCI inio-dev-api-server
with the flagfci: { fci: { waitForSignatureCount: 1 } }
and try to open a document during the signing flow. The app should download it and show it;react-native-android-open-settings
-> OpenProfile -> Preferences -> Favourite Calendar
and deny the access to the calendar. Press againFavourite Calendar
and thenEnable access
. The app should open the Android settings;react-native-calendar-events
-> Withio-dev-api-server
enable the flagmessages: { paymentWithValidDueDateCount: 1 }
, open the message and you should be able to add a reminder to your calendar;react-native-background-timer
-> Type the identification pin wrongly until a blocking timer is shown;react-native-svg
-> OpenProfile -> Design System -> Loaders
and check if the loaders are displayed;react-native-splash-screen
-> The app splash screen should be properly displayed;react-native-exception-handler
-> This can be tested by throwing an unhandled exception in bundle mode. An alert should be shown. This might be tricky to test.react-native-push-notification
-> Test a notification;react-native-keychain
-> Test the onboarding process as it's used to store the citizen PIN;react-native-i18n
-> Translation strings should work;react-native-device-info
-> The app version number in theProfile
section should be shown;react-native-config
-> Start the app with the local/production environment;react-native-screen-brightness
-> OpenProfile -> Your Data
and pressShown
in the fiscal code section. The brightness of the device should change;Please test any critical flow which comes to your mind as well.