-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Upgrade Onfido native sdk to 7.4.0 + fix allowed documents #14802
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,8 @@ | |
"@formatjs/intl-numberformat": "^6.2.5", | ||
"@formatjs/intl-pluralrules": "^4.0.13", | ||
"@gorhom/portal": "^1.0.14", | ||
"@oguzhnatly/react-native-image-manipulator": "github:Expensify/react-native-image-manipulator#5cdae3d4455b03a04c57f50be3863e2fe6c92c52", | ||
"@onfido/react-native-sdk": "7.0.1", | ||
"@oguzhnatly/react-native-image-manipulator": "github:Expensify/react-native-image-manipulator#c5f654fc9d0ad7cc5b89d50b34ecf8b0e3f4d050", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @nkuoch is on leave till June. I'm not sure if there was a specific reason, it might've been something we accidentally overlooked 🤔 Was the solution to the regression to update the hash? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @MariaHCD yes, update hash There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because the author is on leave. We're hard to verify it. Based on the commit message, I think it's a accident: Btw, with current package.json file, I can bump @oguzhnatly/react-native-image-manipulator to previous hash without any error. |
||
"@onfido/react-native-sdk": "7.4.0", | ||
"@react-native-async-storage/async-storage": "^1.17.10", | ||
"@react-native-community/cameraroll": "git+https://github.com/react-native-cameraroll/react-native-cameraroll.git#3f0aed96db68e134f199171c7b06c1b4d6cb382b", | ||
"@react-native-community/clipboard": "^1.5.1", | ||
|
@@ -75,11 +75,11 @@ | |
"jest-when": "^3.5.2", | ||
"localforage": "^1.10.0", | ||
"lodash": "4.17.21", | ||
"lottie-react-native": "^5.1.4", | ||
"lottie-react-native": "^5.1.5", | ||
"metro-config": "^0.71.3", | ||
"moment": "^2.29.4", | ||
"moment-timezone": "^0.5.31", | ||
"onfido-sdk-ui": "10.3.0", | ||
"onfido-sdk-ui": "10.4.0", | ||
"process": "^0.11.10", | ||
"prop-types": "^15.7.2", | ||
"pusher-js": "^7.0.6", | ||
|
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.
@cristipaval Would you mind checking these changes in this file? I was running into an error when building on android and these changes fixed it: #14802 (review)
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.
Hey, this is fine. The error occurs because a library added as dependency to the App has
android:supportsRtl="true"
in itsAndroidManifext.xml
file. Or maybe the library doesn't have that property set at all, which means that the compiler sets the default value which istrue
. This is in conflict with our App settings (android:supportsRtl="false"
) and the line added (tools:replace="android:supportsRtl"
) tells the compiler to set our App's value to that property to all libraries when there is a conflict. This is fine, because the setting disables support for languages which are written from right to left and we don't support those languages yet.