-
Notifications
You must be signed in to change notification settings - Fork 100
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(deps): migrate react-native-camera
to the @interaxyz
fork
#6462
Conversation
@@ -41,6 +41,6 @@ module.exports = { | |||
'^.+\\.(txt)$': require.resolve('./node_modules/react-native/jest/assetFileTransformer.js'), | |||
}, | |||
transformIgnorePatterns: [ | |||
'node_modules/(?!@?react-native|@react-navigation|@react-native-community|uuid|statsig-js|@react-native-firebase|react-navigation|redux-persist|date-fns|victory-*|@walletconnect/react-native-compat|react-redux|@segment/analytics-react-native/node_modules/uuid)', | |||
'node_modules/(?!@?react-native|@react-navigation|@react-native-community|uuid|statsig-js|@react-native-firebase|react-navigation|redux-persist|date-fns|victory-*|@walletconnect/react-native-compat|react-redux|@segment/analytics-react-native/node_modules/uuid|@interaxyz/react-native-camera)', |
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.
otherwise unit tests are failing
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6462 +/- ##
==========================================
- Coverage 89.05% 89.05% -0.01%
==========================================
Files 730 730
Lines 31890 31890
Branches 6104 6104
==========================================
- Hits 28401 28399 -2
- Misses 3292 3294 +2
Partials 197 197
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Thanks, but do we really need the fork? AFAIK the existing patch is only needed for our unit tests to work in the framework. |
@jeanregisser I noticed the reason for a patch is to avoid app crash:
So I decided to keep it as a precaution. Happy to skip the fork if it's not the case. Maybe @kathaypacific could recall what it is? |
Ok cause we're currently able to run the Beefy app without this patch. |
I've built an iOS app without the patch. It doesn't crash on my device when I open QR screen/scan code. |
Unit tests are passing as well. |
Oh nice! 💥 |
sorry i don't remember the details here, but if the app does not crash on the QR screen then it's probably fine to remove! :D |
ok, then I'm going to get rid of the patch first, parking this PR |
Description
Migrate
react-native-camera
to the@interaxyz
fork in order to get rid of the patch.The patch changes are implemented in the fork:
react-native-camera/react-native-camera@master...interaxyz:react-native-camera:master
Additional notes
This library is not maintained anymore, so we have to migrate to another one.
Possible alternatives (to consider in the future, as they aren't a drop-in replacement):
Test plan
Related issues
Backwards compatibility
Y
Network scalability
NA