Skip to content

Commit 9943d43

Browse files
Update bundled Android SDK to version 6.10.0 (#2095)
1 parent e827b76 commit 9943d43

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Features
66

77
- Add support for Portable PDB format ([#2050](https://github.com/getsentry/sentry-dotnet/pull/2050))
8+
- Update bundled Android SDK to version 6.10.0([#2095](https://github.com/getsentry/sentry-dotnet/pull/2095))
89

910
## 3.24.1
1011

src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFramework>net6.0-android</TargetFramework>
44
<!-- BG8605 and BG8606 happen because there's a missing androidx.lifecycle dependency, but we don't need it here. (The native Android Sentry SDK will use it if it exists.) -->
55
<NoWarn>$(NoWarn);BG8605;BG8606</NoWarn>
6-
<SentryAndroidSdkVersion>6.7.1</SentryAndroidSdkVersion>
6+
<SentryAndroidSdkVersion>6.10.0</SentryAndroidSdkVersion>
77
<SentryAndroidSdkDirectory>$(BaseIntermediateOutputPath)sdks\Sentry\Android\$(SentryAndroidSdkVersion)\</SentryAndroidSdkDirectory>
88
<Description>.NET Bindings for the Sentry Android SDK</Description>
99
</PropertyGroup>

src/Sentry.Bindings.Android/Transforms/Metadata.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
<!-- Fix visibility of this type, for use in AndroidEventProcessor.cs -->
5454
<attr path="/api/package[@name='io.sentry.android.core']/class[@name='DefaultAndroidEventProcessor']" name="visibility">internal</attr>
5555

56+
<!--
57+
This API uses FrameMetrics, which requires Android >= 24.0. We currently target Android >= 21.0 which is the minimum supported by MAUI.
58+
TODO: If we need this, figure out how to multi-target or late bind.
59+
-->
60+
<remove-node path="/api/package[@name='io.sentry.android.core.internal.util']/*[starts-with(@name,'SentryFrameMetricsCollector')]" />
61+
5662
<!--
5763
The remaining APIS are removed to prevent various errors/warnings.
5864
TODO: Find other workarounds for each one, rather than removing the APIs.

0 commit comments

Comments
 (0)