You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
On Fri, Dec 3, 2021 at 4:37 AM Nicolas MORICET ***@***.***> wrote:
I wish I could use the firebase emulator with authentication and firestore
with this package : https://pub.dev/packages/firebase
But it seems to me that the useEmulator method does not exist.
Is there a solution ?
I tried this this, but it doesn't work.
import 'package:firebase/firebase.dart';
Future<void> main() async {
App app = initializeApp(
apiKey: apiKey,
appId: appId,
messagingSenderId: messagingSenderId,
projectId: projectId,
);
Auth authInstance = auth(app);
authInstance.useEmulator("HOST:PORT");
}````
I specify that this script is then transformed into JS with the command
dart build js -o OUTPUT INPUT
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#410>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAEFCT2JBAD4WO7F66GLTDUPC2XLANCNFSM5JJTA7JA>
.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I wish I could use the firebase emulator with authentication and firestore with this package : https://pub.dev/packages/firebase
But it seems to me that the useEmulator method does not exist.
Is there a solution ?
I tried this this, but it doesn't work.
I specify that this script is then transformed into JS with the command
Thanks for your feedback
dart build js -o OUTPUT INPUT
The text was updated successfully, but these errors were encountered: