How to setup Firebase Emulator in Flutter in 5 minutes

preview_player
Показать описание
This video goes over the setup to use the firebase emulator with a flutter application.

Written:
Рекомендации по теме
Комментарии
Автор

You shouldn't allow cleartext traffic in the release build (see 3:12). So it would be better to only allow it for the debug build with a separate manifest in

mars
Автор

I've tried following many videos, and this is the only one that works. <3 thank you!!

julianebhelbariquit
Автор

i think I’m the inspiration for this short but effective tutorial 😁.👌👌👌

aymennurhussen
Автор

If you're using an actual device connected by ADB, you can use localhost, but you'll also have to use the `adb reverse` command to forward the PC's localhost to the phone.

sadhlife
Автор

Awesome, straightforward tutorial. Thanks

rsa_doluse
Автор

Thank you so much, I have two quick questions. If I were initializing handlers like before the main method then will your steps work? Second How can I use firebase functions and not just firestore ? The emulators for it already set up

chomanthapa
Автор

Great videos , the only problem is that we have to wait for 1-2 weeks for more videos ..

VishalYadav-vofc
Автор

Thanks for the tutorial. Does anyone know if the flutterfire_ui will work with the emulator? I am trying to use the signin screen with google, but when i click the button it does nothing. Nothing in the log, just makes the screen flicker.

SignInScreen(
showAuthActionSwitch: false,
providerConfigs: [
GoogleProviderConfiguration(
clientId: DefaultFirebaseOptions.currentPlatform.appId,
),
],
)

JoshuaGrippo
Автор

4:00 you said, we need the IP address. But you hvnt used it anywhere later in the video? So what's the point?

whoman
Автор

Is anyone else having trouble linking the realtime database emulator to flutter app?

wheatonrecurrence
Автор

2:04 useEmulator is deprecated. Instead use await FirebaseAuth.instance.useAuthEmulator('$localHostString', 9099);

noahderebe