Ejemplo n.º 1
0
        public async Task <IFirebaseUser> SignInWithGoogleAsync()
        {
            try {
                var credential = await _googleAuth.GetCredentialAsync(ViewController);

                return(await SignInWithCredentialAsync(credential));
            } catch (NSErrorException e) {
                throw new FirebaseException(e.Error?.LocalizedDescription);
            }
        }
        public async Task <IFirebaseUser> SignInWithGoogleAsync()
        {
            var credential = await _googleAuth.GetCredentialAsync(FragmentActivity);

            return(await SignInWithCredentialAsync(credential));
        }