Skip to content

Conversation

@alwx
Copy link
Contributor

@alwx alwx commented Nov 27, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Fixes #5391

This PR includes a new Expo integration option useFullPathsForNavigationRoutes — when set to true full paths to components instead of just component names will be used by Sentry Expo Router integration.

So the end result will look like that:
Screenshot 2025-12-01 at 15 43 39

📝 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

@alwx alwx changed the title WIP: Improve Expo Router integrations to indicate full paths instead of just component names WIP: Improve Expo Router integration to optionally include full paths to components instead of just component names Dec 1, 2025
@alwx alwx changed the title WIP: Improve Expo Router integration to optionally include full paths to components instead of just component names Improve Expo Router integration to optionally include full paths to components instead of just component names Dec 1, 2025
@alwx alwx marked this pull request as ready for review December 1, 2025 15:00
@antonis
Copy link
Contributor

antonis commented Dec 1, 2025

@sentry review

@antonis antonis added the ready-to-merge Triggers the full CI test suite label Dec 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 397.37 ms 441.27 ms 43.90 ms
Size 43.75 MiB 48.05 MiB 4.29 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
7480abe+dirty 411.60 ms 405.81 ms -5.78 ms
818a608 495.84 ms 498.08 ms 2.25 ms
128ee72+dirty 419.74 ms 436.48 ms 16.74 ms
8d20c8e+dirty 480.27 ms 503.35 ms 23.08 ms
1d62dde+dirty 409.00 ms 453.90 ms 44.90 ms
90edad7+dirty 423.57 ms 438.92 ms 15.35 ms
5691430+dirty 433.98 ms 478.49 ms 44.51 ms
7be1f99 454.83 ms 461.36 ms 6.53 ms
a941c72+dirty 489.85 ms 549.17 ms 59.32 ms
f234eb4+dirty 407.62 ms 429.64 ms 22.02 ms

App size

Revision Plain With Sentry Diff
7480abe+dirty 17.75 MiB 19.68 MiB 1.94 MiB
818a608 17.75 MiB 19.68 MiB 1.94 MiB
128ee72+dirty 43.75 MiB 47.99 MiB 4.24 MiB
8d20c8e+dirty 43.75 MiB 47.99 MiB 4.23 MiB
1d62dde+dirty 17.75 MiB 19.74 MiB 2.00 MiB
90edad7+dirty 17.75 MiB 19.70 MiB 1.95 MiB
5691430+dirty 43.75 MiB 48.04 MiB 4.29 MiB
7be1f99 17.75 MiB 20.15 MiB 2.41 MiB
a941c72+dirty 43.75 MiB 48.05 MiB 4.29 MiB
f234eb4+dirty 17.75 MiB 19.74 MiB 1.99 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 447.61 ms 500.85 ms 53.24 ms
Size 43.94 MiB 48.87 MiB 4.93 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
534ba8c+dirty 472.35 ms 537.31 ms 64.96 ms
128ee72+dirty 362.16 ms 380.63 ms 18.47 ms
c7f264b+dirty 356.98 ms 407.46 ms 50.48 ms
4167e15+dirty 311.62 ms 336.91 ms 25.29 ms
d861c16+dirty 334.54 ms 339.27 ms 4.72 ms
64cd15c+dirty 488.79 ms 483.54 ms -5.24 ms
1e7a472+dirty 319.58 ms 372.29 ms 52.71 ms
eb07ba3+dirty 419.49 ms 482.12 ms 62.63 ms
8d20c8e+dirty 469.90 ms 502.00 ms 32.10 ms
818a608+dirty 350.29 ms 397.38 ms 47.09 ms

App size

Revision Plain With Sentry Diff
534ba8c+dirty 7.15 MiB 8.42 MiB 1.27 MiB
128ee72+dirty 43.94 MiB 48.82 MiB 4.88 MiB
c7f264b+dirty 7.15 MiB 8.41 MiB 1.26 MiB
4167e15+dirty 7.15 MiB 8.46 MiB 1.30 MiB
d861c16+dirty 7.15 MiB 8.43 MiB 1.28 MiB
64cd15c+dirty 7.15 MiB 8.42 MiB 1.27 MiB
1e7a472+dirty 7.15 MiB 8.43 MiB 1.28 MiB
eb07ba3+dirty 7.15 MiB 8.42 MiB 1.27 MiB
8d20c8e+dirty 43.94 MiB 48.81 MiB 4.88 MiB
818a608+dirty 7.15 MiB 8.41 MiB 1.26 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1213.94 ms 1217.57 ms 3.64 ms
Size 3.41 MiB 4.59 MiB 1.18 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
90e7cb3+dirty 1212.61 ms 1213.80 ms 1.19 ms
c08359e+dirty 1200.59 ms 1211.81 ms 11.22 ms
8ece263+dirty 1206.90 ms 1211.45 ms 4.55 ms
8e653ac+dirty 1215.46 ms 1220.20 ms 4.75 ms
8d89cc9+dirty 1232.35 ms 1228.53 ms -3.82 ms
8a4ce6f+dirty 1232.80 ms 1223.80 ms -9.00 ms
6a70a7e+dirty 1231.40 ms 1239.49 ms 8.09 ms
d1fd647+dirty 1218.16 ms 1225.82 ms 7.65 ms
a941c72+dirty 1187.82 ms 1192.13 ms 4.30 ms
ff5a06a+dirty 1205.63 ms 1204.73 ms -0.90 ms

App size

Revision Plain With Sentry Diff
90e7cb3+dirty 3.41 MiB 4.58 MiB 1.17 MiB
c08359e+dirty 3.19 MiB 4.38 MiB 1.19 MiB
8ece263+dirty 3.19 MiB 4.48 MiB 1.29 MiB
8e653ac+dirty 3.19 MiB 4.58 MiB 1.39 MiB
8d89cc9+dirty 3.19 MiB 4.53 MiB 1.35 MiB
8a4ce6f+dirty 3.19 MiB 4.53 MiB 1.34 MiB
6a70a7e+dirty 3.19 MiB 4.54 MiB 1.36 MiB
d1fd647+dirty 3.19 MiB 4.56 MiB 1.37 MiB
a941c72+dirty 3.41 MiB 4.59 MiB 1.18 MiB
ff5a06a+dirty 3.41 MiB 4.59 MiB 1.18 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1196.37 ms 1195.43 ms -0.94 ms
Size 3.41 MiB 4.59 MiB 1.18 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
90e7cb3+dirty 1206.61 ms 1209.46 ms 2.84 ms
c08359e+dirty 1235.25 ms 1233.96 ms -1.29 ms
8ece263+dirty 1217.29 ms 1213.35 ms -3.94 ms
8e653ac+dirty 1218.63 ms 1223.88 ms 5.24 ms
8d89cc9+dirty 1222.92 ms 1239.43 ms 16.51 ms
8a4ce6f+dirty 1221.31 ms 1219.84 ms -1.47 ms
6a70a7e+dirty 1225.82 ms 1230.79 ms 4.98 ms
d1fd647+dirty 1219.35 ms 1233.18 ms 13.83 ms
a941c72+dirty 1226.39 ms 1223.60 ms -2.78 ms
ff5a06a+dirty 1208.85 ms 1206.29 ms -2.56 ms

App size

Revision Plain With Sentry Diff
90e7cb3+dirty 3.41 MiB 4.58 MiB 1.17 MiB
c08359e+dirty 2.63 MiB 3.81 MiB 1.18 MiB
8ece263+dirty 2.63 MiB 3.91 MiB 1.28 MiB
8e653ac+dirty 2.63 MiB 4.01 MiB 1.38 MiB
8d89cc9+dirty 2.63 MiB 3.96 MiB 1.33 MiB
8a4ce6f+dirty 2.63 MiB 3.96 MiB 1.33 MiB
6a70a7e+dirty 2.63 MiB 3.98 MiB 1.34 MiB
d1fd647+dirty 2.63 MiB 3.99 MiB 1.36 MiB
a941c72+dirty 3.41 MiB 4.59 MiB 1.18 MiB
ff5a06a+dirty 3.41 MiB 4.59 MiB 1.18 MiB

Copy link
Contributor

@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.

LGTM 🚀

@alwx alwx merged commit 2f9fb30 into main Dec 1, 2025
90 of 94 checks passed
@alwx alwx deleted the alwx/improvement/expo-router-integration-paths branch December 1, 2025 16:26
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.

Check the possibility to show full paths when navigating using Expo Router

3 participants