DEV Community

Adullah
Adullah

Posted on

FirebaseCoreHostApi.initializeCore PlatformException Error in Flutter Test but App Works Fine

I'm encountering an error when running a Flutter test, but the app works fine when running normally. The error message I'm seeing is:

package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart 210:7 FirebaseCoreHostApi.initializeCore PlatformException(channel-error, Unable to establish connection on channel., null, null)

I've included the test code that's causing the issue above. Essentially, it's a unit test…

Top comments (0)