New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[firebase_core]: Error Encountered After Upgrading Firebase Core to v2.30.1: Invalid Conditional Import in _flutterfire_internals Package #12708
Comments
Thanks for the report I'm looking into it, have you tried to exclude this particular file in your build.yaml file? |
hello @Lyokone , my comment not related to mentioned issue, but if I can please ask to do another version release to include 10.11.1 firebase js library https://firebase.google.com/support/release-notes/js |
Same error here:
@Lyokone pinning
|
I ran into this too. Updating to the latest versions of all the Flutter Firebase packages solved the error for me. |
For some reason, updating to the latest Firebase packages worked earlier, but now I'm getting the same error again, even with all the latest packages. Pinning |
Hey @isaacadariku. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
The issue still happen with firebase_core: 2.31.0 |
@Lyokone Thanks for the response. I have not tried excluding the file in the I will try to create a sample project to reproduce the issue and share it with you. |
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: