[firebase_core]: Error Encountered After Upgrading Firebase Core to v2.30.1: Invalid Conditional Import in _flutterfire_internals Package #12708
Labels
blocked: customer-response
Waiting for customer response, e.g. more information was requested.
Needs Attention
This issue needs maintainer attention.
platform: all
Issues / PRs which are for all platforms.
type: bug
Something isn't working
Is there an existing issue for this?
Which plugins are affected?
Core
Which platforms are affected?
No response
Description
After upgrading Firebase Core from version
2.27.0
to version2.30.1
, running the build runner resulted in the following error in the log output.The error originates from the
_flutterfire_internals
packagev1.3.32
. Downgrading the package tov1.3.31
by overriding it, resolved the error. It's noted that the error was addressed in a merged pull request: PR #12698, which was released in version1.3.32
.Expected Behavior
The build runner should execute without errors.
Current Behavior
The build runner fails with the reported error.
Reproducing the issue
Upgrade Firebase Core to version
2.30.1
.Using the latest
build_runner: ^2.4.9
Run the build runner
dart run build_runner build --delete-conflicting-outputs
Firebase Core version
2.30.1
Flutter Version
3.19.6
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: