Example #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);
     }
 }
 public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
 {
     MSAppCenter.Start("APP CENTER KEY", services: new Class[] { new MSAnalytics().Class, new MSCrashes().Class });
     return(true);
 }