skip to Main Content

Laravel Firebase authentication error, unresolved dependancy

I started with this project: https://github.com/suhasrkms/laravel-with-firebase-auth (I downloaded the zip for email/password auth). To duplicate issue I ran composer require kreait/laravel-firebase:^4.0 -W Updated from version kreait/laravel-firebase:^3.0 and I got this error. Unresolvable dependency resolving [Parameter #0 [ string $projectId ]]…

VIEW QUESTION

Firebase Auth Web Error. Error: The argument type 'Future<void> Function()' can't be assigned to the parameter type 'Future<void> Function(App)?'

First of all, this is the error that I encountered: /C:/Users/AppData/Local/Pub/Cache/hosted/pub.dev/firebase_auth_web-5.2.2/lib/firebase_auth_web.dart:92:45: Error: The argument type 'Future Function()' can't be assigned to the parameter type 'Future Function(App)?'. 'Future' is from 'dart:async'. 'App' is from 'package:firebase_core_web/src/interop/app.dart' ('/C:/Users/Grace%20Computer/AppData/Local/Pub/Cache/hosted/pub.dev/firebase_core_web-2.2.2/lib/src/interop/app.dart'). app.dart:1 FirebaseCoreWeb.registerService('auth', () async {…

VIEW QUESTION

Firebase – GoogleAuthProvider – Option to choose account

I'm working on a project in Flutter. I use this code: _googleAuthProvider.setCustomParameters({'prompt': 'select_account'}); UserCredential userCredential; if (kIsWeb) { userCredential = await _firebaseAuth.signInWithPopup(_googleAuthProvider); } else { userCredential = await _firebaseAuth.signInWithProvider(_googleAuthProvider); } On web I can choose which account I want to…

VIEW QUESTION
Back To Top
Search