cachapa / firedart

A dart-native implementation of the Firebase Auth and Firestore SDKs
https://pub.dev/packages/firedart
Apache License 2.0
174 stars 62 forks source link

Add support for web apps #134

Open nickmeinhold opened 5 months ago

nickmeinhold commented 5 months ago

As described in #47 the firedart package doesn't support web apps because browsers only speak grpc-web, not gRPC. grpc-dart does have support for grpc-web and offers grpc-dart/lib/grpc_or_grpcweb.dart.

I don't know if the googleapis endpoints speak grpc-web and I can't find anything about it either way but if not the user can create a proxy with envoy as described in Basics tutorial | Web | gRPC