Commit 129fef9
authored
chore(e2e): enable RN 0.81+ iOS prebuilt pods in example setup (#135)
## Summary
Updated the example app setup flow so React Native `0.81.x` to `0.83.x`
examples use React Native iOS prebuilt artifacts during `pod install`.
With this change:
- The existing `setup:pods` npm script now runs different iOS pod
install commands depending on the React Native version.
- The checked-in RN `0.81.6`, `0.82.1`, and `0.83.2` example apps were
refreshed to match the same rule.
## Changes
- Updated `setup-example-app` so the generated `setup:pods` script is
version-aware
- RN `0.81.x` to `0.83.x`
- `RCT_USE_RN_DEP=1 RCT_USE_PREBUILT_RNCORE=1 bundle exec pod install`
- RN `< 0.81.0`
- keeps the existing `bundle exec pod install`
- RN `>= 0.84.0`
- keeps the default React Native behavior
## Expected Impact
- Reduces iOS dependency installation time for RN `0.81+` example apps1 parent e0d4aa2 commit 129fef9
16 files changed
Lines changed: 1195 additions & 3171 deletions
File tree
- Examples
- RN0816
- ios
- RN0816.xcodeproj
- RN0821
- ios
- RN0821.xcodeproj
- RN0832
- ios
- RN0832.xcodeproj
- scripts
- e2e
- setupExampleApp
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
| |||
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
| 459 | + | |
458 | 460 | | |
459 | 461 | | |
460 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments