We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First of all, thank you making this SDK.
When using an emulator, I can specify port for different emulators using firebase.json.
firebase.json
Example firebase.json:
{ "emulators": { "auth": { "port": 9000 }, "firestore": { "port": 8000 }, } }
In that case, the SDK doesn't connect to the emulator because hardcoded values are used.
firebase_admin_app.dart:
firebase_admin_app.dart
void useEmulator() { _isUsingEmulator = true; authApiHost = Uri.http('127.0.0.1:9099', 'identitytoolkit.googleapis.com/'); firestoreApiHost = Uri.http('127.0.0.1:8080', '/'); }
Firebase documentation specifies the following environment variables that are being set by the emulator that can be used instead of hardcoded values:
FIREBASE_AUTH_EMULATOR_HOST Docs FIRESTORE_EMULATOR_HOST Docs
FIREBASE_AUTH_EMULATOR_HOST
FIRESTORE_EMULATOR_HOST
I'm happy to contribute if you are busy.
The text was updated successfully, but these errors were encountered:
Sure, I'd be happy to see a PR :)
Sorry, something went wrong.
rrousselGit
Successfully merging a pull request may close this issue.
First of all, thank you making this SDK.
When using an emulator, I can specify port for different emulators using
firebase.json
.Example
firebase.json
:In that case, the SDK doesn't connect to the emulator because hardcoded values are used.
firebase_admin_app.dart
:Firebase documentation specifies the following environment variables that are being set by the emulator that can be used instead of hardcoded values:
FIREBASE_AUTH_EMULATOR_HOST
DocsFIRESTORE_EMULATOR_HOST
DocsI'm happy to contribute if you are busy.
The text was updated successfully, but these errors were encountered: