我尝试使用fluttefire命令行工具为我的flutter项目添加firebase。我使用Google身份验证服务从firebase和调用SignIn函数,它会给出以下错误。ios文件夹有GoogleService-Info.plist文件。
Unhandled Exception: PlatformException(missing-config, GoogleService-Info.plist file not found and clientId was not provided programmatically., null, null)
#0 StandardM
我正在尝试创建谷歌身份验证,但我将var provider = new firebase.auth.GoogleAuthProvider();复制到我的JavaScript中,它一直告诉我Uncaught ReferenceError: firebase is not defined。
下面是我的代码:
var provider = new firebase.auth.GoogleAuthProvider();
function signin(){
firebase.auth().signInWithPopup(provider).then(function(result) {
我正在尝试为Flutter桌面嵌入集成Firebase身份验证。在桌面嵌入的情况下,是否有用于Firebase身份验证的Flutter插件。 我试过使用Flutter插件,firebase_auth插件。但这只适用于安卓和iOS平台,在桌面嵌入上运行时出现缺少实现错误,因为插件没有桌面嵌入的实现。 info flutter.tools [ERROR:c:\b\s\w\ir\k\src\flutter\lib\ui\ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found
我试图通过将我的简单FireStore身份验证提供程序示例迁移到RiverPod来理解RiverPod。 这是我的AuthenticationService: import 'package:firebase_auth/firebase_auth.dart';
class AuthenticationService {
final FirebaseAuth _firebaseAuth;
AuthenticationService(this._firebaseAuth);
// with StreamProvider we listen to these cha
我正在尝试将谷歌SignIn添加到我的Firebase the应用程序中,根据docs,这是通过 firebase.auth().signInWithRedirect(provider); // using the google provider 然后处理重定向结果。 但是,我想将其仅限于特定域mycomany.com的用户,然后我还想将可以访问who应用程序的firebase身份验证中的特定用户列入白名单。 如果可能,我如何结合这两(三)个规范?