Commit 51cf0b2
chore(mobile): resolve react-native to 0.79.5 in lockfile + pods (#14365)
## Summary
The previous RN upgrade
([#14303](#14303)) bumped
`packages/mobile/package.json` to `react-native@0.79.5` but the lockfile
and `ios/Podfile.lock` stayed pinned at `0.78.3` — a plain `npm install`
under `legacy-peer-deps=true` would not bump them.
This PR resolves the iOS/Android package versions to actually match the
declared `0.79.5`:
- **`package-lock.json`** — regenerated so `react-native` and
`@react-native/*` (gradle-plugin, codegen, community-cli-plugin,
virtualized-lists, etc.) resolve to `0.79.5`. The deps now hoist to the
monorepo root `node_modules/` instead of living under
`packages/mobile/node_modules/`.
- **`packages/mobile/ios/Podfile.lock`** — regenerated via `pod
install`; `React-Core`, `hermes-engine`, `RCTDeprecation`,
`FBLazyVector`, `React-Fabric`, etc. are now `0.79.5`. `React-hermes`,
`React-jsi`, and `React-renderercss` are now declared as explicit
dependencies of `React` (new in 0.79).
- **`packages/mobile/ios/AudiusReactNative.xcodeproj/project.pbxproj`**
— `pod install` retargeted `REACT_NATIVE_PATH` to the hoisted
`node_modules/react-native` location
(`${PODS_ROOT}/../../../../node_modules/react-native`).
- **`packages/mobile/android/app/build.gradle`** — set `root`,
`reactNativeDir`, and `cliFile` in the `react { }` block so the React
Native Gradle plugin can find `ReactAndroid/gradle.properties` at the
hoisted top-level `node_modules/react-native`. Without this,
`:app:downloadAar` (and any other Gradle task) failed because the
plugin's default convention looks under
`packages/mobile/node_modules/react-native`.
## How I verified
- `npm install` completes without warnings;
`node_modules/react-native/package.json` shows `"version": "0.79.5"`.
- `cd packages/mobile/android && ./gradlew :app:downloadAar` → `BUILD
SUCCESSFUL`.
- `bundle exec pod install` (run automatically by `postinstall`)
regenerates `Podfile.lock` cleanly; all `React-Core (= 0.79.5)`.
## Test plan
- [x] CI green
- [ ] `npm run ios:dev` boots and launches the app
- [ ] `npm run android:dev` boots and launches the app
- [ ] Hermes JS still loads (release + debug)
- [ ] CodePush release pipeline still bundles the iOS / Android JS
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent a6e8c2e commit 51cf0b2
12 files changed
Lines changed: 1448 additions & 2612 deletions
File tree
- packages
- harmony/src
- components
- scrollbar
- tooltip
- hooks
- mobile
- android/app
- ios
- AudiusReactNative.xcodeproj
- AudiusReactNative
- web/src/components/toast
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
| 159 | + | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | | - | |
| 749 | + | |
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
| 807 | + | |
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
865 | | - | |
| 865 | + | |
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments