我能够成功执行 google 签名,当我将 token 传递给 firebase 时,它返回:
W/System (20511): Ignoring header X-Firebase-Locale because its value was null.
I/flutter (20511): [firebase_auth/unknown] com.google.firebase.FirebaseException: An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]
我的json文件很好。我实现:
final _auth = FirebaseAuth.instance;
String email;
String password;
RoundButton(
title: 'register',
color: Colors.blueAccent,
onPressed: () async {
try {
final newUser = await _auth.createUserWithEmailAndPassword(
email: email, password: password);
if (newUser != null) {
Navigator.pushNamed(context, ChatScreen.id);
}
} catch (e) {
print(e);
}
})
最佳答案
关于 flutter :FirebaseException:发生内部错误。 [ CONFIGURATION_NOT_FOUND ],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65555623/