public async Task <IFirebaseUser> SignInWithFacebookAsync() { try { var credential = await _facebookAuth.GetCredentialAsync(ViewController); return(await SignInWithCredentialAsync(credential)); } catch (NSErrorException e) { throw new FirebaseException(e.Error?.LocalizedDescription); } }
public async Task <IFirebaseUser> SignInWithFacebookAsync() { var credential = await _facebookAuth.GetCredentialAsync(Activity); return(await SignInWithCredentialAsync(credential)); }