Open bynicodevelop opened 2 years ago
I wish you could, too! I'd love someone to do the work to figure this out!
On Fri, Dec 3, 2021 at 4:37 AM Nicolas MORICET @.***> wrote:
I wish I could use the firebase emulator with authentication and firestore with this package : https://pub.dev/packages/firebase
But it seems to me that the useEmulator method does not exist. Is there a solution ?
I tried this this, but it doesn't work.
import 'package:firebase/firebase.dart'; Future
main() async { App app = initializeApp( apiKey: apiKey, appId: appId, messagingSenderId: messagingSenderId, projectId: projectId, ); Auth authInstance = auth(app);
authInstance.useEmulator("HOST:PORT"); }```` I specify that this script is then transformed into JS with the command
dart build js -o OUTPUT INPUT
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FirebaseExtended/firebase-dart/issues/410, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEFCT2JBAD4WO7F66GLTDUPC2XLANCNFSM5JJTA7JA .
I wish I could use the firebase emulator with authentication and firestore with this package : https://pub.dev/packages/firebase
But it seems to me that the useEmulator method does not exist. Is there a solution ?
I tried this this, but it doesn't work.
I specify that this script is then transformed into JS with the command
Thanks for your feedback
dart build js -o OUTPUT INPUT