Skip to content

Conversation

@antonis
Copy link
Contributor

@antonis antonis commented Dec 15, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

This PR merges main(v7) on capture-app-start-errors (#4472) and handles:

  • 410 commits of divergence
  • Many native conflicts (96 files)
  • File renames/refactorings (.mm → .m)
  • 29 commits in the feature branch

💡 Motivation and Context

Bring #4472 up to date with the latest main

💚 How did you test it?

CI, Manual

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

#skip-changelog

krystofwoldrich and others added 30 commits January 21, 2025 17:22
…ructures (#4445)

* Extract Android SDK Init

* Update tests

* Adds changelog

* Fix lint issues

* Rename RNSentryStart instance for clarity

* Converts RNSentryStart to utility class

* Update CHANGELOG.md

---------

Co-authored-by: Krystof Woldrich <31292499+krystofwoldrich@users.noreply.github.com>
* Convert json object to writable map

* Make class/methods package-private(default)
- Resolved merge conflicts across iOS, Android, and JavaScript/TypeScript code
- Updated iOS implementation to use RNSentryStart API
- Fixed Android compilation errors for Sentry Android SDK v7 compatibility
- Removed deprecated API calls (setEnableTracing, getPackages, getIntegrations)
- Updated Gradle build scripts and resolved conflict markers
- All builds verified: iOS, Android, and Expo sample apps compile successfully
@antonis antonis added the ready-to-merge Triggers the full CI test suite label Dec 15, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2025

Warnings
⚠️

🤖 Replay Stubs Check

No changes detected in replay-stubs.jar

All file contents are identical (verified by SHA-256 hash comparison).

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 032f74a

Removed unused import that was causing CI lint failure
- Removed assertions for packages getter (not available in v7)
- Removed assertion for enableTracing property (removed in v7)
- Added comments explaining the API changes
The method was a no-op after v7 API changes, so removing it entirely
to avoid unused parameter warnings from PMD.
- Removed assertions for enableTracing property (removed in v7)
- Removed assertions for packages getter (not available in v7)
- Added comments explaining the API changes
@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 396.72 ms 390.04 ms -6.68 ms
Size 43.75 MiB 48.08 MiB 4.32 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
7be1f99 454.83 ms 461.36 ms 6.53 ms
3099014+dirty 439.20 ms 468.40 ms 29.20 ms
36841a6+dirty 502.96 ms 547.14 ms 44.18 ms
20d5eaa 377.62 ms 406.50 ms 28.88 ms
a31630c+dirty 408.91 ms 416.80 ms 7.89 ms
b3b5b0d 399.82 ms 419.20 ms 19.38 ms
6fee48d+dirty 407.42 ms 437.71 ms 30.29 ms
69602ce 417.47 ms 443.52 ms 26.05 ms
eb07ba3 470.04 ms 473.35 ms 3.31 ms
5c16cdc+dirty 423.48 ms 452.35 ms 28.88 ms

App size

Revision Plain With Sentry Diff
7be1f99 17.75 MiB 20.15 MiB 2.41 MiB
3099014+dirty 17.75 MiB 19.70 MiB 1.95 MiB
36841a6+dirty 43.75 MiB 48.07 MiB 4.32 MiB
20d5eaa 17.75 MiB 20.15 MiB 2.41 MiB
a31630c+dirty 17.75 MiB 19.68 MiB 1.94 MiB
b3b5b0d 17.75 MiB 19.68 MiB 1.94 MiB
6fee48d+dirty 17.75 MiB 19.68 MiB 1.94 MiB
69602ce 17.75 MiB 19.68 MiB 1.94 MiB
eb07ba3 17.75 MiB 20.15 MiB 2.41 MiB
5c16cdc+dirty 17.75 MiB 19.68 MiB 1.94 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 406.16 ms 422.83 ms 16.67 ms
Size 43.94 MiB 48.90 MiB 4.96 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
46bd012+dirty 333.76 ms 359.24 ms 25.48 ms
8ece263+dirty 369.44 ms 414.65 ms 45.21 ms
36841a6+dirty 404.22 ms 450.06 ms 45.84 ms
c7f264b+dirty 356.98 ms 407.46 ms 50.48 ms
1853710+dirty 360.67 ms 396.28 ms 35.61 ms
21c9e75+dirty 356.73 ms 381.06 ms 24.33 ms
46da307+dirty 356.62 ms 415.02 ms 58.40 ms
e2fa43d+dirty 326.56 ms 372.88 ms 46.32 ms
c08359e+dirty 406.04 ms 428.87 ms 22.83 ms
05bef0e+dirty 451.63 ms 533.90 ms 82.27 ms

App size

Revision Plain With Sentry Diff
46bd012+dirty 7.15 MiB 8.42 MiB 1.27 MiB
8ece263+dirty 7.15 MiB 8.41 MiB 1.26 MiB
36841a6+dirty 43.94 MiB 48.90 MiB 4.96 MiB
c7f264b+dirty 7.15 MiB 8.41 MiB 1.26 MiB
1853710+dirty 7.15 MiB 8.41 MiB 1.26 MiB
21c9e75+dirty 7.15 MiB 8.42 MiB 1.27 MiB
46da307+dirty 7.15 MiB 8.41 MiB 1.26 MiB
e2fa43d+dirty 7.15 MiB 8.42 MiB 1.27 MiB
c08359e+dirty 7.15 MiB 8.42 MiB 1.27 MiB
05bef0e+dirty 7.15 MiB 8.43 MiB 1.28 MiB

The file is in the parent directory, so use ../ prefix to fix the import path
The property is deprecated in v7. Tracing is already disabled by setting
tracesSampleRate and tracesSampler to nil.
@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1207.79 ms 1207.35 ms -0.44 ms
Size 3.41 MiB 4.67 MiB 1.26 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
2adbd1e+dirty 1207.51 ms 1218.98 ms 11.47 ms
4604da9+dirty 1232.59 ms 1232.26 ms -0.33 ms
9b50d32+dirty 1216.53 ms 1221.64 ms 5.10 ms
f234eb4+dirty 1227.22 ms 1228.45 ms 1.22 ms
90afdd3+dirty 1233.90 ms 1240.90 ms 7.00 ms
161947d+dirty 1203.43 ms 1217.00 ms 13.57 ms
1ef8a04+dirty 1226.14 ms 1223.15 ms -2.99 ms
6416d6c+dirty 1220.38 ms 1222.98 ms 2.60 ms
ebf60f9+dirty 1217.66 ms 1214.82 ms -2.84 ms
ea3e26e+dirty 1229.13 ms 1228.46 ms -0.67 ms

App size

Revision Plain With Sentry Diff
2adbd1e+dirty 2.63 MiB 4.00 MiB 1.36 MiB
4604da9+dirty 2.63 MiB 4.01 MiB 1.38 MiB
9b50d32+dirty 3.41 MiB 4.59 MiB 1.18 MiB
f234eb4+dirty 2.63 MiB 4.00 MiB 1.37 MiB
90afdd3+dirty 2.63 MiB 3.99 MiB 1.35 MiB
161947d+dirty 2.63 MiB 3.99 MiB 1.36 MiB
1ef8a04+dirty 3.41 MiB 4.59 MiB 1.18 MiB
6416d6c+dirty 3.41 MiB 4.59 MiB 1.18 MiB
ebf60f9+dirty 3.41 MiB 4.67 MiB 1.25 MiB
ea3e26e+dirty 3.41 MiB 4.58 MiB 1.17 MiB

The enableTracing property is deprecated in Sentry Cocoa SDK v7.
Tracing is already verified to be disabled by checking that
tracesSampleRate and tracesSampler are nil.
@github-actions
Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1201.87 ms 1204.61 ms 2.74 ms
Size 3.41 MiB 4.67 MiB 1.26 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
2adbd1e+dirty 1220.65 ms 1230.20 ms 9.56 ms
4604da9+dirty 1208.67 ms 1208.12 ms -0.54 ms
9b50d32+dirty 1210.36 ms 1218.41 ms 8.05 ms
f234eb4+dirty 1233.52 ms 1235.78 ms 2.26 ms
90afdd3+dirty 1216.17 ms 1225.55 ms 9.38 ms
161947d+dirty 1203.45 ms 1217.83 ms 14.38 ms
1ef8a04+dirty 1184.42 ms 1186.44 ms 2.02 ms
6416d6c+dirty 1222.83 ms 1222.04 ms -0.79 ms
ebf60f9+dirty 1218.85 ms 1212.53 ms -6.32 ms
ea3e26e+dirty 1216.61 ms 1214.15 ms -2.47 ms

App size

Revision Plain With Sentry Diff
2adbd1e+dirty 3.19 MiB 4.56 MiB 1.38 MiB
4604da9+dirty 3.19 MiB 4.58 MiB 1.39 MiB
9b50d32+dirty 3.41 MiB 4.59 MiB 1.18 MiB
f234eb4+dirty 3.19 MiB 4.57 MiB 1.38 MiB
90afdd3+dirty 3.19 MiB 4.55 MiB 1.37 MiB
161947d+dirty 3.19 MiB 4.56 MiB 1.37 MiB
1ef8a04+dirty 3.41 MiB 4.59 MiB 1.18 MiB
6416d6c+dirty 3.41 MiB 4.59 MiB 1.18 MiB
ebf60f9+dirty 3.41 MiB 4.67 MiB 1.25 MiB
ea3e26e+dirty 3.41 MiB 4.58 MiB 1.17 MiB

Copy link
Contributor Author

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The failed Detox tests should be fixed by porting #4914

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants