Closed mo-nathan closed 3 months ago
Created https://docs.google.com/spreadsheets/d/1I2CyR0abOWtx8p61W2EAlhHg86Bn0NuUgG4mL82UYrk/edit#gid=1526662613 as an upgrade plan.
Used https://react-native-community.github.io/upgrade-helper to attempt to upgrade from 0.67 to 0.68. It got most of the way, but I still had to do the following:
1) Reapply the maven-publish edit and the uploadArchives edits to the code base. 2) Change nativeArchitectures to reactNativeArchitectures in android/app/build.gradle. 3) Apply the following diff:
% diff node_modules/@react-native-community/blur/android/build.gradle*
11a12
> jcenter()
39,40c40
<
< maven { url 'https://jitpack.io' }
---
> jcenter()
46c46
< implementation 'com.github.Dimezis:BlurView:version-1.6.6'
---
> implementation 'com.eightbitlab:blurview:1.6.3'
4) Explicitly switch to Kotlin version: 1.8.22.
Then after Invalidating the caches and rebuilding the project, I got it to fly. Presumably due to various experimentation, I had to delete node_modules once and rebuild it using npm install
.
The above comment is relative to the Android Studio build. The Xcode build had it's own issues.
1) I had to muck around with bundle and pod. I had to do a pod update
to break the final log jam.
2) Apparently I missed updating ios/MushroomObserver.xcodeproj/project.pbxproj and even after getting the new updated version, I had to edit it replacing all occurrences of “RnDiffApp” with “MushroomObserver”.
3) Had to re-update the "Current Project Version" and the "Marketing Version".
Adding expo with npm install expo
seemed to help quite a bit. I'm also loosening up versions in the package.json by putting in "*" when things complain. This approach got the app running again in Xcode, but now it's throwing some errors when I just go to the "Settings Page" after logging in. Here's what I'm seeing at the moment in the Apple simulator:
These issues have been resolved and the build is working with updated NPM packages.