Skip to content

chore(deps): update Android SDK to v8.41.0#6104

Merged
antonis merged 2 commits intomainfrom
deps/scripts/update-android.sh
May 7, 2026
Merged

chore(deps): update Android SDK to v8.41.0#6104
antonis merged 2 commits intomainfrom
deps/scripts/update-android.sh

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 7, 2026

Bumps scripts/update-android.sh from 8.40.0 to 8.41.0.

Auto-generated by a dependency updater.

Changelog

8.41.0

Features

  • Session Replay: experimental support for capturing SurfaceView content (e.g. Unity, video players, maps) (#5333)
    • To enable, set options.sessionReplay.isCaptureSurfaceViews = true
    • Or via manifest: <meta-data android:name="io.sentry.session-replay.capture-surface-views" android:value="true" />
    • Warning: masking granularity is at the SurfaceView level only — the SDK cannot mask individual elements rendered inside the SurfaceView (e.g. native Unity UI, map labels, video frames). Only enable for SurfaceViews whose content is safe to record.
  • Add Sentry.feedback() API for show() and capture() (#5349)
    • Sentry.showUserFeedbackDialog() is deprecated in favor of Sentry.feedback().show()
    • Sentry.captureFeedback() is deprecated in favor of Sentry.feedback().capture()
    • Sentry.captureUserFeedback() and UserFeedback are deprecated in favor of Sentry.feedback().capture() with the new Feedback type
    • SentryUserFeedbackDialog is deprecated in favor of SentryUserFeedbackForm
    • All deprecated APIs will be removed in the next major version
  • Deprecate SentryUserFeedbackButton (View-based and Compose-based) (#5350)
    • It will be removed in the next major version
  • Add per-form shake-to-show support for SentryUserFeedbackForm (#5353)
    • Useful for enabling shake-to-report on specific screens instead of globally
    SentryUserFeedbackForm.Builder(activity)
      .configurator { it.isUseShakeGesture = true }
      .create()
  • Add support for Kafka (#5249)
    • You will need to add the sentry-kafka dependency and opt-in via the new option.
      • Set options.setEnableQueueTracing(true) on Sentry.init
      • Or set sentry.enable-queue-tracing=true in application.properties
    • For Spring Boot Kafka is auto instrumented and no further configuration is needed.
    • When using kafka-clients directly

Fixes

  • Fix soft input keyboard not being shown on the Feedback form (#5359)
  • Fix shake-to-report not triggering on some devices due to high acceleration threshold (#5366)
  • Fix feedback form retaining previous message when shown again via shake (#5366)
  • Avoid stack overflow when deserializing large flat JSON objects (#5361)

Dependencies

@github-actions github-actions Bot requested review from alwx and antonis as code owners May 7, 2026 04:15
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label May 7, 2026
@github-actions github-actions Bot requested a review from lucas-zimerman as a code owner May 7, 2026 04:15
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label May 7, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 8a28dc4 to 505e3b6 Compare May 7, 2026 04:15
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 7, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Android SDK to v8.41.0 by github-actions[bot] in #6104
  • chore(deps): update Cocoa SDK to v9.12.1 by github-actions in #6105
  • build(core): Add public API surface tracking with api-extractor by antonis in #6093
  • chore(deps): bump axios from 1.15.0 to 1.16.0 by dependabot in #6091
  • ci: Add workflow to notify issues when fix is released by antonis in #6089
  • ci: Add Danger check to warn about auth token handling changes by antonis in #6087
  • Fix PNPM iOS Upload Debug Symbol fail in EAS Build by alwx in #6086
  • chore(deps): update Sentry Android Gradle Plugin to v6.6.0 by github-actions in #6085
  • fix(e2e): Remove flaky iOS replay assertion from captureReplay test by antonis in #6072
  • chore(deps): bump github/codeql-action from 4.35.2 to 4.35.3 by dependabot in #6078
  • fix: Prevent shell injection vulnerability in GitHub Actions workflow by fix-it-felix-sentry in #6077
  • chore(deps): update Maestro to v2.5.1 by github-actions in #6075

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 7, 2026

Warnings
⚠️

🤖 Replay Stubs Check

No changes detected in replay-stubs.jar

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

⚠️

⚠️ Android SDK Version Mismatch

Component Version
sentry-android in build.gradle 8.41.0
sentry-android bundled by gradle plugin 6.6.0 8.40.0

If a user enables AGP autoInstallation (default: true), this mismatch causes:

IllegalStateException: Sentry SDK has detected a mix of versions

Our docs instruct React Native users to set autoInstallation.enabled = false, so users following the guide are unaffected. Consider either updating packages/core/android/build.gradle to 8.40.0 or waiting for a gradle plugin release that bundles 8.41.0.

Generated by 🚫 dangerJS against c0f88ae

@antonis antonis added the ready-to-merge Triggers the full CI test suite label May 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 7, 2026

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 403.54 ms 427.44 ms 23.89 ms
Size 48.30 MiB 53.48 MiB 5.18 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a50b33d+dirty 353.21 ms 398.48 ms 45.27 ms
0d9949d+dirty 414.88 ms 428.68 ms 13.81 ms
7ac3378+dirty 410.67 ms 442.60 ms 31.92 ms
890d145+dirty 486.42 ms 514.85 ms 28.43 ms
4b87b12+dirty 356.23 ms 399.86 ms 43.63 ms
23598c3+dirty 371.92 ms 420.65 ms 48.74 ms
04207c4+dirty 395.40 ms 456.55 ms 61.15 ms
3d377b5+dirty 425.38 ms 440.67 ms 15.30 ms
4953e94+dirty 398.80 ms 431.81 ms 33.01 ms
5c1e987+dirty 444.71 ms 475.13 ms 30.42 ms

App size

Revision Plain With Sentry Diff
a50b33d+dirty 43.94 MiB 48.94 MiB 5.00 MiB
0d9949d+dirty 43.94 MiB 48.99 MiB 5.05 MiB
7ac3378+dirty 43.94 MiB 48.99 MiB 5.05 MiB
890d145+dirty 43.94 MiB 49.00 MiB 5.06 MiB
4b87b12+dirty 43.94 MiB 49.00 MiB 5.06 MiB
23598c3+dirty 43.94 MiB 49.02 MiB 5.08 MiB
04207c4+dirty 43.94 MiB 48.98 MiB 5.04 MiB
3d377b5+dirty 43.94 MiB 49.00 MiB 5.06 MiB
4953e94+dirty 43.94 MiB 48.94 MiB 5.00 MiB
5c1e987+dirty 43.94 MiB 48.94 MiB 5.00 MiB

Previous results on branch: deps/scripts/update-android.sh

Startup times

Revision Plain With Sentry Diff
e0efebc+dirty 354.72 ms 393.98 ms 39.26 ms
0886964+dirty 327.26 ms 380.80 ms 53.54 ms
5c2b683+dirty 428.37 ms 443.18 ms 14.81 ms
021a685+dirty 366.41 ms 409.76 ms 43.35 ms
c555a21+dirty 407.55 ms 437.13 ms 29.57 ms
c0842e7+dirty 427.88 ms 461.31 ms 33.43 ms
6c0a3f8+dirty 515.18 ms 524.82 ms 9.64 ms
daa2302+dirty 395.90 ms 418.43 ms 22.53 ms
9beea74+dirty 364.98 ms 389.87 ms 24.89 ms
f7252f6+dirty 369.56 ms 410.88 ms 41.32 ms

App size

Revision Plain With Sentry Diff
e0efebc+dirty 7.15 MiB 8.46 MiB 1.31 MiB
0886964+dirty 7.15 MiB 8.45 MiB 1.29 MiB
5c2b683+dirty 43.94 MiB 48.87 MiB 4.93 MiB
021a685+dirty 43.94 MiB 49.27 MiB 5.33 MiB
c555a21+dirty 43.94 MiB 48.90 MiB 4.96 MiB
c0842e7+dirty 43.94 MiB 49.27 MiB 5.33 MiB
6c0a3f8+dirty 43.94 MiB 49.00 MiB 5.06 MiB
daa2302+dirty 43.94 MiB 48.98 MiB 5.04 MiB
9beea74+dirty 43.94 MiB 49.22 MiB 5.28 MiB
f7252f6+dirty 43.94 MiB 48.94 MiB 5.00 MiB

@sentry
Copy link
Copy Markdown

sentry Bot commented May 7, 2026

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Sentry RN io.sentry.reactnative.sample 8.10.0 (86) Release

⚙️ sentry-react-native Build Distribution Settings

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 7, 2026

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 470.74 ms 478.98 ms 8.24 ms
Size 48.30 MiB 53.48 MiB 5.18 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a50b33d+dirty 500.81 ms 532.11 ms 31.30 ms
0d9949d+dirty 403.57 ms 437.00 ms 33.43 ms
7ac3378+dirty 404.78 ms 439.84 ms 35.06 ms
890d145+dirty 504.54 ms 491.55 ms -12.99 ms
4b87b12+dirty 421.82 ms 413.60 ms -8.22 ms
23598c3+dirty 414.12 ms 426.24 ms 12.12 ms
04207c4+dirty 459.19 ms 518.54 ms 59.35 ms
3d377b5+dirty 406.18 ms 453.52 ms 47.34 ms
4953e94+dirty 442.02 ms 456.52 ms 14.50 ms
5c1e987+dirty 423.52 ms 471.64 ms 48.12 ms

App size

Revision Plain With Sentry Diff
a50b33d+dirty 43.75 MiB 48.08 MiB 4.33 MiB
0d9949d+dirty 43.75 MiB 48.13 MiB 4.37 MiB
7ac3378+dirty 43.75 MiB 48.13 MiB 4.37 MiB
890d145+dirty 43.75 MiB 48.14 MiB 4.39 MiB
4b87b12+dirty 43.75 MiB 48.14 MiB 4.39 MiB
23598c3+dirty 43.75 MiB 48.16 MiB 4.41 MiB
04207c4+dirty 43.75 MiB 48.12 MiB 4.37 MiB
3d377b5+dirty 43.75 MiB 48.14 MiB 4.39 MiB
4953e94+dirty 43.75 MiB 48.08 MiB 4.33 MiB
5c1e987+dirty 43.75 MiB 48.08 MiB 4.33 MiB

Previous results on branch: deps/scripts/update-android.sh

Startup times

Revision Plain With Sentry Diff
e0efebc+dirty 334.33 ms 337.59 ms 3.27 ms
5c2b683+dirty 444.54 ms 455.27 ms 10.72 ms
021a685+dirty 428.00 ms 495.00 ms 67.00 ms
fa62e21 432.46 ms 457.29 ms 24.83 ms
c555a21+dirty 409.55 ms 448.36 ms 38.81 ms
c0842e7+dirty 425.83 ms 476.18 ms 50.35 ms
0886964 420.28 ms 435.74 ms 15.46 ms
6c0a3f8+dirty 420.65 ms 471.42 ms 50.77 ms
daa2302+dirty 491.80 ms 520.02 ms 28.22 ms
9beea74+dirty 414.00 ms 430.26 ms 16.26 ms

App size

Revision Plain With Sentry Diff
e0efebc+dirty 17.75 MiB 19.75 MiB 2.00 MiB
5c2b683+dirty 43.75 MiB 48.04 MiB 4.29 MiB
021a685+dirty 43.75 MiB 48.41 MiB 4.66 MiB
fa62e21 17.75 MiB 19.68 MiB 1.94 MiB
c555a21+dirty 43.75 MiB 48.07 MiB 4.32 MiB
c0842e7+dirty 43.75 MiB 48.41 MiB 4.66 MiB
0886964 17.75 MiB 19.72 MiB 1.97 MiB
6c0a3f8+dirty 43.75 MiB 48.14 MiB 4.39 MiB
daa2302+dirty 43.75 MiB 48.12 MiB 4.37 MiB
9beea74+dirty 43.75 MiB 48.39 MiB 4.64 MiB

@antonis antonis enabled auto-merge (squash) May 7, 2026 07:29
@antonis antonis merged commit bc0d8cf into main May 7, 2026
55 of 76 checks passed
@antonis antonis deleted the deps/scripts/update-android.sh branch May 7, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants