Replies: 2 comments 1 reply
-
Hello @lukas1001. I am having exactly the same issue. Were you able to solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @tony8864 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm trying to write an API test for Firebase authentication using the Firebase Auth emulator in my Flutter project. Here is what I've done so far:
SETUP
Firebase Emulator:
I have set up the Firebase Auth emulator and it's running. I can access the emulator in my browser at localhost:4000, and I see the active authentication emulator on port 4001.
Flutter Test Code:
I wrote a test that initializes Firebase with the emulator settings and then attempts to create a new user.
Code
Error
When I run the test, I get the following error at the setUpAll() function:
"PlatformException(channel-error, Unable to establish connection on channel., null, null)
package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart 210:7 FirebaseCoreHostApi.initializeCore"
Environment
Flutter Version: 3.22.0
Firebase Packages Version: firebase_core: ^2.30.1, firebase_auth: ^4.19.3
OS: Windows 10
Does anyone have insights on what might be causing this issue or suggestions on how to properly configure the Firebase Auth emulator for testing in Flutter?
Beta Was this translation helpful? Give feedback.
All reactions