Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created May 16, 2020 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/9b4a050bbcd8eb3f25abfc357a9c4c14 to your computer and use it in GitHub Desktop.
Save juucustodio/9b4a050bbcd8eb3f25abfc357a9c4c14 to your computer and use it in GitHub Desktop.
Adicionando o plugin do App Center em uma aplicação Xamarin.Forms - 20 dias com App Center / Dia 12 - http://julianocustodio.com/appcenter-12
using Foundation;
using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using UIKit;
namespace Demo.iOS
{
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
LoadApplication(new App());
AppCenter.Start("4a0489a6-7502-4e0a-be3d-8fdac28a7890",
typeof(Analytics), typeof(Crashes));
return base.FinishedLaunching(app, options);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment