firebase_admin icon indicating copy to clipboard operation
firebase_admin copied to clipboard

any plans to make this work on the web?

Open csells opened this issue 4 years ago • 5 comments

It is pure Dart, so hopefully it's doable? You won't be able to save credentials to the disk or look for credentials on disk, but you could use HTML local storage for such things (or just use shared_settings and it'll work automatically).

csells avatar Aug 23 '20 18:08 csells

why would be your use case? don't really see the point of using an admin sdk on the web

rbellens avatar Aug 23 '20 19:08 rbellens

to build an admin console, e.g. adding new users as well as any custom actions I want to do with new users, like creating corresponding data in firestore, etc.

csells avatar Aug 23 '20 19:08 csells

ok, makes sense then. Note however that this library does not support firestore (yet), only the realtime database. It should be possible to make it work on web.

rbellens avatar Aug 24 '20 08:08 rbellens

Yes, please make this work on the web.

real1900 avatar Dec 04 '20 03:12 real1900

ok, makes sense then. Note however that this library does not support firestore (yet), only the realtime database. It should be possible to make it work on web.

It would be awesome to have firestore support for this library. It would allow to write actual Cloud Functions in dart, so that I can make change on Firestore on Cloud Events with Dart. I guess the Firestore support goes beyond the web support but that's a good start

ghost avatar Aug 31 '21 09:08 ghost