首页 > 解决方案 > Flutter Web 中的 Firebase 身份验证错误

问题描述

我收到错误Expected a value of type 'String', but got one type of 'AssertionErrorImpl'在尝试使用 FirebaseAuth 登录时。

下面是我的代码:

AuthResult result = await FirebaseAuth.instance.signInWithEmailAndPassword(email: email, password: password);

标签: firebaseflutterdartfirebase-authenticationdart-pub

解决方案


推荐阅读