we are using the new version of FlutterFire, but we have some issues when running our tests, we managed to initialise Firebase adding this:
setUp(() async {
TestWidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
});
But now we have this error message:
MissingPluginException(No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core)
package:flutter/src/services/platform_channel.dart 159:7 MethodChannel._invokeMethod
The app runs well both on iOS and Android, we only have the issue when running the widget tests. We've tried with Flutter stable and dev channels.