Use Realtime Database emulator in flutter web


Is there any way to use the firebase realtime db emulator with flutter web? I know is not yet available in FlutterFire but there might be some workaround.


As you’ve noticed the FlutterFire plugin for Firebase’s Realtime Database does not currently support web clients.

I don’t know of a workaround for that plugin, but typically use package:firebase/firebase.dart myself when accessing Realtime Database from Flutter Web. I’m not sure if that supports connecting to the emulator yet, but if not, it’s probably worth filing a feature request on the repo or (even better) a PR for it.

Answered By – Frank van Puffelen

Answer Checked By – Marilyn (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *