Пример #1
0
        public void OnSuccess(Java.Lang.Object result)
        {
            loginResult = result as LoginResult;

            var credentials = FacebookAuthProvider.GetCredential(loginResult.AccessToken.Token);

            SessionManager.GetFirebaseAuth().SignInWithCredential(credentials)
            .AddOnCompleteListener(new OncompleteListener((t) =>
            {
                if (!t.IsSuccessful)
                {
                    return;
                }
                OnboardingActivity.ShowSuccess();
            }));
        }