#請益 # Firebase auth by Flutter

在stackflow爬了很久還是遲遲找不到答案,基本確定是firebase這段程式碼的問題了,後台有enable auth服務,再麻煩大大了=> try { UserCredential userCredential = await FirebaseAuth.instance .signInWithEmailAndPassword(email: email, password: password); if (_formKey.currentState!.validate()) { Navigator.pushNamed(context, LoginSuccessScreen.routeName); } } catch (e) { print(e.toString()); } 報錯=> W/System ( 3494): Ignoring header X-Firebase-Locale because its value was null. I/flutter ( 3494): [firebase_auth/unknown] com.google.firebase.FirebaseException: An internal error has occurred. [ Cleartext HTTP traffic to 10.0.2.2 not permitted ]
愛心
2
全部留言
照官方document試一次看看?
B1 感謝 重來一次又可以了@@ 怕有人也採到這個坑 我記錄一下 這行沒差不用管他在github issue有找到解答=> W/System ( 3494): Ignoring header X-Firebase-Locale because its value was null. 這個就沒找到了 不知道甚麼問題 重開又可以了=> I/flutter ( 3494): [firebase_auth/unknown] com.google.firebase.FirebaseException: An internal error has occurred. [ Cleartext HTTP traffic to 10.0.2.2 not permitted ]