Skip to content

fix: Remove 3 dependencies from MAUI Android (3 aar files)#449

Merged
abelonogov-ld merged 9 commits intomainfrom
andrey/open-telemetry-testing
Mar 31, 2026
Merged

fix: Remove 3 dependencies from MAUI Android (3 aar files)#449
abelonogov-ld merged 9 commits intomainfrom
andrey/open-telemetry-testing

Conversation

@abelonogov-ld
Copy link
Copy Markdown
Contributor

@abelonogov-ld abelonogov-ld commented Mar 30, 2026

Summary

Remove 3 dependencies from MAUI Android (3 aar files) after cleaning Android.
Tested on 2 apps and released as 0.5.3 nuget

How did you test this change?

Are there any deployment considerations?


Note

Medium Risk
Changes the set of Android OpenTelemetry artifacts packaged into the NuGet, which could cause missing-class or instrumentation issues at runtime if consumers relied on the removed jars/AARs. Otherwise this is a small build/packaging-only update.

Overview
Updates the MAUI Android native build and packaging to reduce/sharpen bundled dependencies: removes the opentelemetry-sdk-testing dependency and adjusts NuGet packing rules to exclude opentelemetry-sdk-extension-autoconfigure (and *-incubator) jars while explicitly re-including opentelemetry-sdk-extension-autoconfigure-spi.

Bumps the LaunchDarkly.SessionReplay package version from 0.5.2 to 0.5.3.

Written by Cursor Bugbot for commit f1e1ff3. This will update automatically on new commits. Configure here.

@abelonogov-ld abelonogov-ld requested a review from a team as a code owner March 30, 2026 21:22
@abelonogov-ld abelonogov-ld enabled auto-merge (squash) March 30, 2026 21:47
@abelonogov-ld abelonogov-ld requested a review from beekld March 31, 2026 21:32
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

- Adjusted the exclusion rules for OpenTelemetry JARs in LDObservability.Fat.csproj to ensure the main autoconfigure JAR is excluded while re-including the autoconfigure-spi JAR.
- Added a note in build.gradle.kts to clarify the filtering of OpenTelemetry JARs for NuGet packaging.
@abelonogov-ld abelonogov-ld merged commit b59fbd4 into main Mar 31, 2026
22 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/open-telemetry-testing branch March 31, 2026 23:19
abelonogov-ld added a commit that referenced this pull request Apr 1, 2026
* main:
  chore: simplify maui project by removing dependency repetitions (#451)
  fix: Remove 3 dependencies from MAUI Android (3 aar files) (#449)

# Conflicts:
#	sdk/@launchdarkly/mobile-dotnet/android/native/LDObserve/build.gradle.kts
#	sdk/@launchdarkly/mobile-dotnet/observability/Directory.Build.props
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants