We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package used: Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel
Just try to create a ServerTelemetryChannel in a dotnet Maui app. Works on Android. Crashes on iOS with the current error:
private static void SetupTelemetryClient(MauiAppBuilder appBuilder, AppInsightsConfiguration configuration) { var telemetryConfiguration = new TelemetryConfiguration() { ConnectionString = configuration.ConnectionString }; telemetryConfiguration.TelemetryInitializers.Add(new TelemetryInitializer());
var channel = new ServerTelemetryChannel { MaxBacklogSize = configuration.MaxBacklogSize, MaxTelemetryBufferCapacity = configuration.MaxTelemetryBufferCapacity, MaxTelemetryBufferDelay = configuration.MaxTelemetryBufferDelay, MaxTransmissionBufferCapacity = configuration.MaxTransmissionBufferCapacity, MaxTransmissionSenderCapacity = configuration.MaxTransmissionSenderCapacity, MaxTransmissionStorageCapacity = configuration.MaxTransmissionStorageCapacity, StorageFolder = configuration.StorageFolder }; channel.Initialize(telemetryConfiguration); telemetryConfiguration.TelemetryChannel = channel; _client = new TelemetryClient(telemetryConfiguration); appBuilder.Services.AddSingleton(_client); Connectivity.ConnectivityChanged += OnConnectivityChanged; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Package used:
Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel
Describe the bug
Just try to create a ServerTelemetryChannel in a dotnet Maui app. Works on Android. Crashes on iOS with the current error:
To Reproduce
private static void SetupTelemetryClient(MauiAppBuilder appBuilder, AppInsightsConfiguration configuration)
{
var telemetryConfiguration = new TelemetryConfiguration()
{
ConnectionString = configuration.ConnectionString
};
telemetryConfiguration.TelemetryInitializers.Add(new TelemetryInitializer());
The text was updated successfully, but these errors were encountered: