Exemplo n.º 1
0
 public static Task <DependencyStatus> CheckDependenciesAsync()
 {
     FirebaseApp.SetCheckDependenciesThread(-2);
     FirebaseHandler.CreatePartialOnMainThread(FirebaseAppUtils.Instance);
     FirebaseApp.InitializeAppUtilCallbacks();
     return(Task.Run <DependencyStatus>(delegate
     {
         FirebaseApp.SetCheckDependenciesThread(Thread.CurrentThread.ManagedThreadId);
         DependencyStatus result = FirebaseApp.CheckDependencies();
         FirebaseApp.SetCheckDependenciesThread(-1);
         return result;
     }));
 }