Environment
- LaunchDarkly.SessionReplay version: 0.9.2
- Platform: .NET MAUI Android
- Target framework: net10.0-android
- Android SDK: 35, min SDK: 31
- Device: Motorola G35 5G (Android 14)
Description
Session Replay fails to initialize on Android. The same configuration works correctly on iOS.
Steps to reproduce
- Add
LaunchDarkly.SessionReplay 0.9.2 to a .NET MAUI project
- Configure plugins as described in the documentation:
builder.Plugins(new PluginConfigurationBuilder()
.Add(new ObservabilityPlugin(new ObservabilityOptions(
isEnabled: true,
serviceName: "my-app")))
.Add(new SessionReplayPlugin(new SessionReplayOptions(isEnabled: true))));
- Run on Android
Expected behavior
Session Replay initializes successfully and sessions appear in the LaunchDarkly portal.
Actual behavior
Plugin fails to register with the following error:
LaunchDarkly.Sdk: Error registering plugin LaunchDarkly.SessionReplay:
Java.Lang.IllegalStateException: No HttpSenderProvider found on classpath.
Please add dependency on opentelemetry-exporter-sender-okhttp
or opentelemetry-exporter-sender-jdk
at LDObserveAndroid.ObservabilityBridge.Start(...)
at LaunchDarkly.SessionReplay.LDNative.Start(...)
at LaunchDarkly.Observability.PluginOrchestrator.InitializeAll()
at LaunchDarkly.Observability.SessionReplayPlugin.Register(ILdClient client, EnvironmentMetadata metadata)
Additional context
The NuGet package at runtimes/android/native contains multiple .aar files including lib-release.aar (650 KB), but opentelemetry-exporter-sender-okhttp appears to be missing from the bundled dependencies. There is no way to add this dependency manually via AndroidMavenLibrary as the required version is unknown.
Environment
Description
Session Replay fails to initialize on Android. The same configuration works correctly on iOS.
Steps to reproduce
LaunchDarkly.SessionReplay0.9.2 to a .NET MAUI projectExpected behavior
Session Replay initializes successfully and sessions appear in the LaunchDarkly portal.
Actual behavior
Plugin fails to register with the following error:
Additional context
The NuGet package at
runtimes/android/nativecontains multiple.aarfiles includinglib-release.aar(650 KB), butopentelemetry-exporter-sender-okhttpappears to be missing from the bundled dependencies. There is no way to add this dependency manually viaAndroidMavenLibraryas the required version is unknown.