Skip to content

chore(deps): update Android SDK to v8.20.0#3196

Merged
buenaflor merged 3 commits into
mainfrom
deps/packages/flutter/scripts/update-android.sh/8.20.0
Aug 27, 2025
Merged

chore(deps): update Android SDK to v8.20.0#3196
buenaflor merged 3 commits into
mainfrom
deps/packages/flutter/scripts/update-android.sh/8.20.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps packages/flutter/scripts/update-android.sh from 8.18.0 to 8.20.0.

Auto-generated by a dependency updater.

Changelog

8.20.0

Fixes

  • Do not use named capturing groups for regular expressions (#4652)
    • This fixes a crash on Android versions below 8.0 (API level 26)

Features

  • Add onDiscard to enable users to track the type and amount of data discarded before reaching Sentry (#4612)
    • Stub for setting the callback on Sentry.init:
      Sentry.init(options -> {
        ...
        options.setOnDiscard(
         (reason, category, number) -> {
           // Your logic to process discarded data
         });
      });

8.19.1

Fixes

  • Do not store No-Op scopes onto OpenTelemetry Context when wrapping (#4631)
    • In 8.18.0 and 8.19.0 the SDK could break when initialized too late.

8.19.0

Features

  • Add a isEnableSystemEventBreadcrumbsExtras option to disable reporting system events extras for breadcrumbs (#4625)

Improvements

  • Session Replay: Use main thread looper to schedule replay capture (#4542)
  • Use single LifecycleObserver and multi-cast it to the integrations interested in lifecycle states (#4567)
  • Add sentry.origin attribute to logs (#4618)
    • This helps identify which integration captured a log event
  • Prewarm SentryExecutorService for better performance at runtime (#4606)

Fixes

  • Cache network capabilities and status to reduce IPC calls (#4560)
  • Deduplicate battery breadcrumbs (#4561)
  • Remove unused method in ManifestMetadataReader (#4585)
  • Have single NetworkCallback registered at a time to reduce IPC calls (#4562)
  • Do not register for SystemEvents and NetworkCallbacks immediately when launched with non-foreground importance (#4579)
  • Limit ProGuard keep rules for native methods within sentry-android-ndk to the io.sentry.** namespace. (#4427)
    • If you relied on the Sentry SDK to keep native method names for JNI compatibility within your namespace, please review your ProGuard rules and ensure the configuration still works. Especially when you're not consuming any of the default Android proguard rules (proguard-android.txt or proguard-android-optimize.txt) the following config should be present:
    -keepclasseswithmembernames class * {
      native <methods>;
    }
    
  • Fix abstract method error in SentrySupportSQLiteDatabase (#4597)
  • Ensure frame metrics listeners are registered/unregistered on the main thread (#4582)
  • Do not report cached events as lost (#4575)
    • Previously events were recorded as lost early despite being retried later through the cache
  • Move and flush unfinished previous session on init (#4624)
    • This removes the need for unnecessary blocking our background queue for 15 seconds in the case of a background app start
  • Switch to compileOnly dependency for compose-ui-material (#4630)
    • This fixes StackOverflowError when using OSS Licenses plugin

Dependencies

@bruno-garcia
bruno-garcia force-pushed the deps/packages/flutter/scripts/update-android.sh/8.20.0 branch from eb22d77 to 986001e Compare August 26, 2025 03:30
@codecov

codecov Bot commented Aug 26, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.84%. Comparing base (047a17d) to head (c0efab8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3196      +/-   ##
==========================================
+ Coverage   86.47%   89.84%   +3.37%     
==========================================
  Files         129       94      -35     
  Lines        4828     3389    -1439     
==========================================
- Hits         4175     3045    -1130     
+ Misses        653      344     -309     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bruno-garcia
bruno-garcia force-pushed the deps/packages/flutter/scripts/update-android.sh/8.20.0 branch 3 times, most recently from ac6e73c to 88c7218 Compare August 26, 2025 12:07
@bruno-garcia
bruno-garcia force-pushed the deps/packages/flutter/scripts/update-android.sh/8.20.0 branch from 88c7218 to bebb45b Compare August 26, 2025 12:18
@buenaflor
buenaflor merged commit 68e9ac1 into main Aug 27, 2025
45 of 48 checks passed
@buenaflor
buenaflor deleted the deps/packages/flutter/scripts/update-android.sh/8.20.0 branch August 27, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants