Skip to content

Commit f618631

Browse files
Merge branch 'main' into @krystofwoldrich/add-metrics
2 parents 7eeff3a + 82eeed0 commit f618631

File tree

6 files changed

+43
-18
lines changed

6 files changed

+43
-18
lines changed

.github/workflows/e2e.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,17 @@ jobs:
287287
working-directory: test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp
288288
run: yarn add ../../../../e2e
289289

290+
- uses: ruby/setup-ruby@v1
291+
if: ${{ matrix.platform == 'ios' }}
292+
with:
293+
working-directory: test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp
294+
ruby-version: '3.3.0' # based on what is used in the sample
295+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
296+
cache-version: 1 # cache the installed gems
297+
- run: gem install cocoapods -v 1.15.2 # fixes Hermes pod install https://github.com/CocoaPods/CocoaPods/issues/12226#issuecomment-1930604302
298+
working-directory: test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp
299+
if: ${{ matrix.platform == 'ios' }}
300+
290301
- name: Install App Pods
291302
if: ${{ matrix.platform == 'ios' }}
292303
working-directory: test/react-native/versions/${{ matrix.rn-version }}/RnDiffApp/ios
@@ -296,10 +307,11 @@ jobs:
296307
[[ "${{ matrix.ios-use-frameworks }}" == "dynamic" ]] && export USE_FRAMEWORKS=dynamic && export NO_FLIPPER=1
297308
[[ "${{ matrix.build-type }}" == "production" ]] && ENABLE_PROD=1 || ENABLE_PROD=0
298309
[[ "${{ matrix.rn-architecture }}" == "new" ]] && ENABLE_NEW_ARCH=1 || ENABLE_NEW_ARCH=0
310+
[[ "${{ matrix.rn-version }}" == "0.65.3" ]] && POD_INSTALL_COMMNAND="pod install" || POD_INSTALL_COMMNAND="bundle exec pod install"
299311
echo "ENABLE_PROD=$ENABLE_PROD"
300312
echo "ENABLE_NEW_ARCH=$ENABLE_NEW_ARCH"
301313
echo "USE_FRAMEWORKS=$USE_FRAMEWORKS"
302-
PRODUCTION=$ENABLE_PROD RCT_NEW_ARCH_ENABLED=$ENABLE_NEW_ARCH pod install
314+
PRODUCTION=$ENABLE_PROD RCT_NEW_ARCH_ENABLED=$ENABLE_NEW_ARCH $POD_INSTALL_COMMNAND
303315
cat Podfile.lock | grep $RN_SENTRY_POD_NAME
304316
305317
- name: Patch App RN

.github/workflows/sample-application.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ jobs:
5454
if: ${{ matrix.platform == 'ios' }}
5555
with:
5656
working-directory: samples/react-native
57-
ruby-version: '3.2.2' # based on what is used in the sample
57+
ruby-version: '3.3.0' # based on what is used in the sample
5858
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
59+
cache-version: 1 # cache the installed gems
5960

6061
- uses: actions/setup-java@v3
6162
with:
@@ -87,7 +88,7 @@ jobs:
8788
[[ "${{ matrix.rn-architecture }}" == "new" ]] && ENABLE_NEW_ARCH=1 || ENABLE_NEW_ARCH=0
8889
echo "ENABLE_PROD=$ENABLE_PROD"
8990
echo "ENABLE_NEW_ARCH=$ENABLE_NEW_ARCH"
90-
PRODUCTION=$ENABLE_PROD RCT_NEW_ARCH_ENABLED=$ENABLE_NEW_ARCH pod install
91+
PRODUCTION=$ENABLE_PROD RCT_NEW_ARCH_ENABLED=$ENABLE_NEW_ARCH bundle exec pod install
9192
cat Podfile.lock | grep $RN_SENTRY_POD_NAME
9293
9394
- name: Build Android App

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@ This release contains upgrade of `sentry-android` dependency to major version 7.
2929
### Fixes
3030

3131
- Upload Debug Symbols Build Phase continues when `node` not found in `WITH_ENVIRONMENT` ([#3573](https://github.com/getsentry/sentry-react-native/pull/3573))
32+
- Fix `proguardUuid` loading on Android ([#3591](https://github.com/getsentry/sentry-react-native/pull/3591))
3233

3334
### Dependencies
3435

3536
- Bump Android SDK from v6.34.0 to v7.3.0 ([#3434](https://github.com/getsentry/sentry-react-native/pull/3434))
3637
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#730)
3738
- [diff](https://github.com/getsentry/sentry-java/compare/6.34.0...7.3.0)
38-
- Bump JavaScript SDK from v7.81.1 to v7.99.0 ([#3426](https://github.com/getsentry/sentry-react-native/pull/3426))
39+
- Bump JavaScript SDK from v7.81.1 to v7.100.1 ([#3426](https://github.com/getsentry/sentry-react-native/pull/3426), [#3589](https://github.com/getsentry/sentry-react-native/pull/3589))
3940
- [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7990)
40-
- [diff](https://github.com/getsentry/sentry-javascript/compare/7.81.1...7.99.0)
41+
- [diff](https://github.com/getsentry/sentry-javascript/compare/7.81.1...7.100.1)
4142

4243
## 5.18.0
4344

android/src/main/java/io/sentry/react/RNSentryModuleImpl.java

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,11 +731,21 @@ public WritableMap stopProfiling() {
731731
return proguardUuid;
732732
}
733733
isProguardDebugMetaLoaded = true;
734-
final @Nullable Properties debugMeta = (new AssetsDebugMetaLoader(this.getReactApplicationContext(), logger)).loadDebugMeta();
735-
if (debugMeta != null) {
734+
final @Nullable List<Properties> debugMetaList = (new AssetsDebugMetaLoader(this.getReactApplicationContext(),
735+
logger)).loadDebugMeta();
736+
if (debugMetaList == null) {
737+
return null;
738+
}
739+
740+
for (Properties debugMeta : debugMetaList) {
736741
proguardUuid = DebugMetaPropertiesApplier.getProguardUuid(debugMeta);
737-
return proguardUuid;
742+
if (proguardUuid != null) {
743+
logger.log(SentryLevel.INFO, "Proguard uuid found: " + proguardUuid);
744+
return proguardUuid;
745+
}
738746
}
747+
748+
logger.log(SentryLevel.WARNING, "No proguard uuid found in debug meta properties file!");
739749
return null;
740750
}
741751

samples/react-native/Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +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 "3.2.2"
4+
ruby "3.3.0"
55

6-
gem 'cocoapods', '~> 1.13'
6+
gem 'cocoapods', '1.15.2'
77
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'

samples/react-native/Gemfile.lock

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ GEM
88
i18n (>= 1.6, < 2)
99
minitest (>= 5.1)
1010
tzinfo (~> 2.0)
11-
addressable (2.8.5)
11+
addressable (2.8.6)
1212
public_suffix (>= 2.0.2, < 6.0)
1313
algoliasearch (1.27.5)
1414
httpclient (~> 2.8, >= 2.8.3)
1515
json (>= 1.5.1)
1616
atomos (0.1.3)
1717
claide (1.1.0)
18-
cocoapods (1.14.3)
18+
cocoapods (1.15.2)
1919
addressable (~> 2.8)
2020
claide (>= 1.0.2, < 2.0)
21-
cocoapods-core (= 1.14.3)
21+
cocoapods-core (= 1.15.2)
2222
cocoapods-deintegrate (>= 1.0.3, < 2.0)
2323
cocoapods-downloader (>= 2.1, < 3.0)
2424
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -33,7 +33,7 @@ GEM
3333
nap (~> 1.0)
3434
ruby-macho (>= 2.3.0, < 3.0)
3535
xcodeproj (>= 1.23.0, < 2.0)
36-
cocoapods-core (1.14.3)
36+
cocoapods-core (1.15.2)
3737
activesupport (>= 5.0, < 8)
3838
addressable (~> 2.8)
3939
algoliasearch (~> 1.0)
@@ -64,7 +64,7 @@ GEM
6464
httpclient (2.8.3)
6565
i18n (1.14.1)
6666
concurrent-ruby (~> 1.0)
67-
json (2.6.3)
67+
json (2.7.1)
6868
minitest (5.20.0)
6969
molinillo (0.8.0)
7070
nanaimo (0.3.0)
@@ -77,7 +77,7 @@ GEM
7777
ethon (>= 0.9.0)
7878
tzinfo (2.0.6)
7979
concurrent-ruby (~> 1.0)
80-
xcodeproj (1.23.0)
80+
xcodeproj (1.24.0)
8181
CFPropertyList (>= 2.3.3, < 4.0)
8282
atomos (~> 0.1.3)
8383
claide (>= 1.0.2, < 2.0)
@@ -87,14 +87,15 @@ GEM
8787

8888
PLATFORMS
8989
arm64-darwin-22
90+
arm64-darwin-23
9091
x86_64-darwin-20
9192

9293
DEPENDENCIES
9394
activesupport (>= 6.1.7.3, < 7.1.0)
94-
cocoapods (~> 1.13)
95+
cocoapods (= 1.15.2)
9596

9697
RUBY VERSION
97-
ruby 3.2.2p53
98+
ruby 3.3.0p0
9899

99100
BUNDLED WITH
100101
2.4.20

0 commit comments

Comments
 (0)