Forum Xamarin.Forms

Microsoft.AppCenter code not execute in IOS

zasah16zasah16 ZAMember ✭✭


I have an Xamarin Forms app with Appcenter installed. All the analytics and events are stored on the Android version, but the IOS version ignores the Appcenter code. Even while debugging these lines are skipped. I am using the latest release of Appcenter on the solution, android and IOS.

Any help would be appreciated.

Here the code:
AppCenter.LogLevel = LogLevel.Verbose;
AppCenter.Start("android={my unique code;" + "uwp={Your UWP App secret here};" +
"ios={my unique code}",
typeof(Analytics), typeof(Crashes));

        Analytics.TrackEvent("App Started");
Sign In or Register to comment.