MAUI App Centre not working

SSB 111 Reputation points
2024-07-10T21:08:48.79+00:00

Hi,

I am upgrading from Xamarin to MAUI - i have App Centre setup for error tracking for both iOS and Android. It is working fine from Xamarin.

on my MAUI app, it is connecting and working fine on iOS, but on Android it is not detecting any events or even the version number.

How can this be fixed?

using AppCenter.Analytics and AppCenter.Crashes version 5.0.5

AppCenter.Start("android={android key};" +
          "uwp={Your UWP App secret here};" +
          "ios={iOS key};" +
          "macos={Your macOS App secret here};",
          typeof(Microsoft.AppCenter.Analytics.Analytics), typeof(Microsoft.AppCenter.Crashes.Crashes));


        Crashes.TrackError(new Exception("Testing"));

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,311 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.