![](/img/trans.png)
[英]I'm trying to signOut with google in Flutter with Firebase and it doesn't work
[英]firebase auth doesn't work in phones browsers and I make popup and redirct allowed
我使用 firebase 進行身份驗證,它適用於桌面瀏覽器,但不適用於手機瀏覽器這是我使用的代碼:
function login() {
const googleAuth = new GoogleAuthProvider();
return signInWithPopup(auth, googleAuth).then(() =>getUserName(auth.currentUser.uid))
}
如何讓它在移動瀏覽器中工作
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.