Exemple #1
0
        async Task Initialize()
        {
            await FirebaseApp.CheckDependenciesAsync().ContinueWithOnMainThread(task => {
                if (task.Result == DependencyStatus.Available)
                {
                    auth = FirebaseAuth.DefaultInstance;
                    Debug.Log("[AutoLogin_Initialize]\nLogged in!");
                }
                else
                {
                    Debug.LogError("[AutoLogin_Initialize]\nCould not resolve all Firebase dependencies " + task.Result);
                }
            });

            Debug.Log("[AutoLogin_Initialize]\nFinished Initialization");
        }