Exemplo n.º 1
0
 public async void UpdateDeviceData()
 {
     if (currentLocation != null)
     {
         var deviceID = MSAppCenter.InstallId().ToString();
         await ServiceLayer.SharedInstance.UpdateDeviceInfo(deviceID, currentLocation.Coordinate.Latitude, currentLocation.Coordinate.Longitude);
     }
 }
Exemplo n.º 2
0
 public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
 {
     MSAppCenter.Start("APP CENTER KEY", services: new Class[] { new MSAnalytics().Class, new MSCrashes().Class });
     return(true);
 }