Skip to content

Commit 9f2ce14

Browse files
chore(sample): Bump repository to React Native 0.73 (#3346)
1 parent bfb0676 commit 9f2ce14

File tree

38 files changed

+2451
-1914
lines changed

38 files changed

+2451
-1914
lines changed

.github/workflows/buildandtest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 16
18+
node-version: 18
1919
- uses: actions/cache@v3
2020
id: cache
2121
with:
@@ -86,7 +86,7 @@ jobs:
8686
- uses: actions/checkout@v4
8787
- uses: actions/setup-node@v4
8888
with:
89-
node-version: 16
89+
node-version: 18
9090
- uses: actions/cache@v3
9191
id: cache
9292
with:
@@ -124,7 +124,7 @@ jobs:
124124
- uses: actions/checkout@v4
125125
- uses: actions/setup-node@v4
126126
with:
127-
node-version: 16
127+
node-version: 18
128128
- uses: actions/cache@v3
129129
id: cache
130130
with:
@@ -169,7 +169,7 @@ jobs:
169169
- uses: actions/checkout@v4
170170
- uses: actions/setup-node@v4
171171
with:
172-
node-version: 16
172+
node-version: 18
173173
- name: Cache Dependencies
174174
uses: actions/cache@v3
175175
id: cache

.github/workflows/codegen.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- uses: actions/setup-node@v4
3030
with:
31-
node-version: 16
31+
node-version: 18
32+
- uses: actions/setup-java@v3
33+
with:
34+
java-version: '17'
35+
distribution: "adopt"
3236
- uses: actions/cache@v3
3337
id: cache
3438
with:

.github/workflows/e2e.yml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
- uses: actions/checkout@v4
4141
- uses: actions/setup-node@v4
4242
with:
43-
node-version: 16
43+
node-version: 18
4444
- uses: actions/setup-java@v3
4545
with:
46-
java-version: "11"
46+
java-version: '17'
4747
distribution: "adopt"
4848
- name: Install Global Dependencies
4949
run: yarn global add react-native-cli @sentry/cli yalc
@@ -63,7 +63,7 @@ jobs:
6363
run: yalc publish
6464
- uses: actions/setup-node@v4
6565
with:
66-
node-version: 16
66+
node-version: 18
6767
- uses: actions/cache@v3
6868
id: app-plain-cache
6969
with:
@@ -148,7 +148,7 @@ jobs:
148148
strategy:
149149
fail-fast: false # keeps matrix running if one fails
150150
matrix:
151-
rn-version: ['0.65.3', '0.72.4']
151+
rn-version: ['0.65.3', '0.73.0']
152152
rn-architecture: ['legacy', 'new']
153153
platform: ['android', 'ios']
154154
build-type: ['dev', 'production']
@@ -200,20 +200,21 @@ jobs:
200200
echo "SENTRY_DIST=$SENTRY_DIST"
201201
202202
- uses: actions/setup-node@v4
203-
if: ${{ matrix.rn-version == '0.65.3' }}
204-
with:
205-
node-version: 16
206-
207-
- uses: actions/setup-node@v4
208-
if: ${{ matrix.rn-version != '0.65.3' }}
209203
with:
210204
node-version: 18
211205

212206
- uses: actions/setup-java@v3
207+
if: ${{ matrix.rn-version == '0.65.3' }}
213208
with:
214209
java-version: '11'
215210
distribution: 'adopt'
216211

212+
- uses: actions/setup-java@v3
213+
if: ${{ matrix.rn-version != '0.65.3' }}
214+
with:
215+
java-version: '17'
216+
distribution: 'adopt'
217+
217218
- name: Setup Global Tools
218219
run: |
219220
yarn global add yalc semver
@@ -252,6 +253,11 @@ jobs:
252253
- name: Package SDK
253254
run: yalc publish
254255

256+
- uses: actions/setup-node@v4
257+
if: ${{ matrix.rn-version == '0.65.3' }}
258+
with:
259+
node-version: 16
260+
255261
- name: Download Plain RN ${{ matrix.rn-version }} App
256262
working-directory: test/react-native/versions
257263
run: git clone $RN_DIFF_REPOSITORY --branch release/${{ matrix.rn-version }} --single-branch ${{ matrix.rn-version }}
@@ -385,7 +391,7 @@ jobs:
385391
strategy:
386392
fail-fast: false # keeps matrix running if one fails
387393
matrix:
388-
rn-version: ['0.65.3', '0.72.4']
394+
rn-version: ['0.65.3', '0.73.0']
389395
rn-architecture: ['legacy', 'new']
390396
platform: ['android', 'ios']
391397
build-type: ['production']
@@ -427,7 +433,7 @@ jobs:
427433
- uses: actions/setup-node@v4
428434
if: ${{ matrix.rn-version == '0.65.3' }}
429435
with:
430-
node-version: 16
436+
node-version: 18
431437

432438
- uses: actions/setup-node@v4
433439
if: ${{ matrix.rn-version != '0.65.3' }}
@@ -436,7 +442,7 @@ jobs:
436442

437443
- uses: actions/setup-java@v3
438444
with:
439-
java-version: '11'
445+
java-version: '17'
440446
distribution: 'adopt'
441447

442448
- name: NPM cache E2E Tests Library

.github/workflows/native-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
- uses: actions/setup-java@v3
5858
with:
59-
java-version: '11'
59+
java-version: '17'
6060
distribution: 'adopt'
6161

6262
- name: Gradle cache

.github/workflows/sample-application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
- uses: actions/setup-java@v3
5151
with:
52-
java-version: '11'
52+
java-version: '17'
5353
distribution: 'adopt'
5454

5555
- name: Install Global Dependencies

RNSentryCocoaTester/Podfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
require_relative '../node_modules/react-native/scripts/react_native_pods'
22

3-
platform :ios, '12.4'
3+
platform :ios, '13.4'
44

55
target 'RNSentryCocoaTesterTests' do
6-
use_react_native!()
6+
use_react_native!(
7+
:hermes_enabled => false,
8+
)
79
pod 'RNSentry', :path => '../RNSentry.podspec'
810
pod 'OCMock', '3.9.1'
911
end

RNSentryCocoaTester/RNSentryCocoaTester.xcodeproj/project.pbxproj

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
30F19D4E16BEEFEC68733838 /* [CP] Check Pods Manifest.lock */,
8787
3360898929524164007C7730 /* Sources */,
8888
BB7D14838753E6599863899B /* Frameworks */,
89-
E56C5E3822DFF9C2796CEB4A /* [CP] Embed Pods Frameworks */,
9089
CC7959F3721CB3AD7CB6A047 /* [CP] Copy Pods Resources */,
9190
);
9291
buildRules = (
@@ -170,23 +169,6 @@
170169
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNSentryCocoaTesterTests/Pods-RNSentryCocoaTesterTests-resources.sh\"\n";
171170
showEnvVarsInLog = 0;
172171
};
173-
E56C5E3822DFF9C2796CEB4A /* [CP] Embed Pods Frameworks */ = {
174-
isa = PBXShellScriptBuildPhase;
175-
buildActionMask = 2147483647;
176-
files = (
177-
);
178-
inputFileListPaths = (
179-
"${PODS_ROOT}/Target Support Files/Pods-RNSentryCocoaTesterTests/Pods-RNSentryCocoaTesterTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
180-
);
181-
name = "[CP] Embed Pods Frameworks";
182-
outputFileListPaths = (
183-
"${PODS_ROOT}/Target Support Files/Pods-RNSentryCocoaTesterTests/Pods-RNSentryCocoaTesterTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
184-
);
185-
runOnlyForDeploymentPostprocessing = 0;
186-
shellPath = /bin/sh;
187-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNSentryCocoaTesterTests/Pods-RNSentryCocoaTesterTests-frameworks.sh\"\n";
188-
showEnvVarsInLog = 0;
189-
};
190172
/* End PBXShellScriptBuildPhase section */
191173

192174
/* Begin PBXSourcesBuildPhase section */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"metro": "0.76",
8888
"prettier": "^2.0.5",
8989
"react": "18.2.0",
90-
"react-native": "0.72.4",
90+
"react-native": "0.73.0",
9191
"replace-in-file": "^7.0.1",
9292
"rimraf": "^4.1.1",
9393
"ts-jest": "^29.1.1",

samples/react-native/.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.6
1+
3.2.2

samples/react-native/Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby File.read(File.join(__dir__, '_ruby-version')).strip
4+
ruby "3.2.2"
55

6-
gem 'cocoapods', '~> 1.12'
6+
gem 'cocoapods', '~> 1.13'
7+
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'

0 commit comments

Comments
 (0)