fix: Build warnings and compatibility issues across Android and MAUI (.NET) SDKs.#439
Merged
Conversation
* andrey/android-warnings: adjust C library suppress warning e2e app lazy gecko browser gecko changes
* main: chore: release main (#436)
(cherry picked from commit 23cf8efd2b1a6791b1d1b728721677c8de6b37f5)
Vadman97
approved these changes
Mar 27, 2026
Merged
abelonogov-ld
added a commit
that referenced
this pull request
Mar 27, 2026
* main: fix: Build warnings and compatibility issues across Android and MAUI (.NET) SDKs. (#439) feat(observability-ruby): publish Ruby observability plugin gem (#413) ci: fix oidc publishing (#441) ci: switch to OIDC npm publishing (#438) # Conflicts: # sdk/@launchdarkly/observability-android/lib/src/main/cpp/CMakeLists.txt
abelonogov-ld
pushed a commit
that referenced
this pull request
Mar 27, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.34.0</summary> ## [0.34.0](launchdarkly-observability-android-0.33.0...launchdarkly-observability-android-0.34.0) (2026-03-27) ### Features * o3 level optimization for image diffing ([#443](#443)) ([9045142](9045142)) ### Bug Fixes * Build warnings and compatibility issues across Android and MAUI (.NET) SDKs. ([#439](#439)) ([47c4640](47c4640)) </details> <details><summary>launchdarkly-observability-ruby: 0.2.0</summary> ## [0.2.0](launchdarkly-observability-ruby-0.1.0...launchdarkly-observability-ruby/0.2.0) (2026-03-27) ### Features * **@launchdarkly/session-replay-react-native:** use cocoapods for native session replay ([#434](#434)) ([41988e1](41988e1)) * **observability-ruby:** publish Ruby observability plugin gem ([#413](#413)) ([569a7b4](569a7b4)) * ruby observability plugin ([#360](#360)) ([79dc8dd](79dc8dd)) ### Bug Fixes * structured stacktrace capture in Ruby observability plugin ([#427](#427)) ([1dae61e](1dae61e)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk release-metadata update (version numbers, changelogs, and provenance docs) with no functional code changes in this diff. > > **Overview** > Updates release metadata to cut new SDK versions: `@launchdarkly/observability-android` from `0.33.0` to `0.34.0` and `@launchdarkly/observability-ruby` from `0.1.0` to `0.2.0` (including manifest/version files). > > Adds the corresponding `CHANGELOG.md` entries and bumps the Ruby `PROVENANCE.md` example version to match the new release. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 4488f03. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix build warnings and compatibility issues across Android and MAUI (.NET) SDKs, upgrade Dokka to 2.1.0, and make GeckoView lazy-loaded in the E2E app.
Changes
Android SDK (
observability-android)V2EnabledWithHelpers) and adopted the newdokka { }DSL, replacing the deprecatedtasks.dokkaJavadocconfiguration. Addeddokka-javadocplugin.kotlinOptionswithkotlin { compilerOptions { } }: Applies to bothobservability-androidandmobile-dotnet/android/native/LDObserveGradle build scripts.-O2to-O3; added-Wl,-z,max-page-size=16384linker option to support Android 16KB page-size devices.MAUI / .NET SDK (
mobile-dotnet)ExcludeAssets="contentFiles"to theLaunchDarkly.ClientSdkPackageReference in bothLDObservability.csprojandLDObservability.Fat.csprojto prevent the LD SDK's content files from being included in the output.new Java.Lang.Boolean(b),new Java.Lang.Integer(i), etc. withJava.Lang.Boolean.ValueOf(b),Java.Lang.Integer.ValueOf(i), etc. inDictionaryTypeConverters.csto eliminate deprecation warnings.IDictionary<string, object>?toIDictionary<string, object?>?inToJavaDictionaryto properly handle nullable attribute values.remove-nodetransform inMetadata.xmlto suppress binding warning BG8400 forLDObserveBridgeAdapter.Companion.E2E Android App
LazyGeckoViewItem) and XML (setupLazyGeckoView) activities.android:extractNativeLibs="true"toAndroidManifest.xml.Note
Medium Risk
Medium risk due to build/packaging and native build flag changes (Dokka upgrade, Kotlin compiler config, CMake linker options, and .NET binding transforms) that could affect release artifacts, plus UI behavior changes for GeckoView loading.
Overview
Improves build compatibility across the Android and MAUI (.NET) SDKs by upgrading Dokka to 2.1.0 (switching to the new
dokka {}DSL / V2 plugin mode) and modernizing Kotlin Gradle config tokotlin { compilerOptions { ... } }.Adjusts packaging/binding behavior in the .NET Android binding and observability projects by suppressing additional binding warnings, removing an unbindable Kotlin
Companionfield viaMetadata.xml, excludingLaunchDarkly.ClientSdkcontentFiles, and tightening Android JNI marshalling helpers (nullable attribute values andValueOfboxing).Updates the E2E Android app to lazy-load GeckoView on tap (Compose and XML), restructures the XML layout to keep WebViews scrollable while GeckoViews sit in fixed containers, adds
android:extractNativeLibs="true", and tweaks the nativetile_hashbuild to-O3plus a 16KB page-size linker option.Written by Cursor Bugbot for commit ae9715c. This will update automatically on new commits. Configure here.