-
Notifications
You must be signed in to change notification settings - Fork 7
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
RN-973 Upgrade Meditrak #5120
RN-973 Upgrade Meditrak #5120
Conversation
ca47f0d
to
bfb78bd
Compare
4e6db0c
to
b477624
Compare
Tried v20 but node 18 has breaking changes which break react-native-dotenv, see goatandsheep/react-native-dotenv#468
This was needed because trying to install newer versions of tools e.g. node-gpy was not working while older versions were already installed + each runs on different versions of node.
react-native-dotenv wasnt working with node 16
74d6a56
to
60a9af1
Compare
…ng specific yargs version at top level
c3940e4
to
5d9ecee
Compare
5d9ecee
to
a1025d2
Compare
560ba48
to
3d677e6
Compare
Fixes issue with incompatible versions clashing, see babel/babel#15765 (comment)
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.
Thanks for this @IgorNadj!
Ran through a local install and had a minor issue with realm
but aside from that all working well. Wanna go through this together on Friday and then hopefully we can merge 👍
|
||
Android and iOS app for surveying medical facilities | ||
- nvm use |
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.
I had to add an .nvmrc
file with 16.20.2
in it to the root of the meditrak-app
package
packages/meditrak-app/package.json
Outdated
"redux-persist": "^5.9.1", | ||
"react-navigation-stack": "^2.10.4", | ||
"react-redux": "^8.1.2", | ||
"realm": "^12.1.0", |
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.
When testing this locally I was having issues with a missing realm-constants.json
file in node_modules/ream
. There seems be something that some other users have encountered: realm/realm-js#6270
Apparently there's meant to be a post-install script that creates that file but something seemed to be going wrong for me.
Bumping to 12.3.0
fixed the issue though, currently yarn.lock
has resolved to 12.2.1
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.
Try to upgrade to v12.3.1 as we have a fix for it 😄
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.
Thanks @kneth 🙏
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.
Awesome stuff, thanks for all the work!
Merging before test pass because this only affects MediTrak App, which is on a change freeze pending this upgrade. I have done a smoke test on the build and run of web-frontend and it passed, any other issues will be caught by release regression testing. |
Issue #: RN-973
Package updates:
Start from a brand new react-native. Add up to date packages and get it building. Both Android and iOS.
DEPRECATED PACKAGES LIST
react-native-camera
react-native-qrcode-scanner
react-native-side-menu
react-navigation
sha256
AppCenter changes:
Fixed the builds for Android and iOS.
iOS has been re-setup to build and release through AppCenter following AppCenter documentation.
Manual release tasks