예제 #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);
     }
 }
예제 #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);
 }