Skip to content
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_storage] my app gives error and do not open when I add this package to pubspec.yaml #9033

Closed
ysahin20 opened this issue Jul 4, 2022 · 5 comments
Labels
resolution: solution-provided A solution has been provided in the issue.

Comments

@ysahin20
Copy link

ysahin20 commented Jul 4, 2022

So I am building an app and I want to save some photos of the user in the firebase DB. For this purpose, i added the package however, when i add this package and run the app, the app gives error and do not open.

Here is the error;

E/eglCodecCommon( 2714): glUtilsParamSize: unknow param 0x000082da
E/eglCodecCommon( 2714): glUtilsParamSize: unknow param 0x000082da
E/flutter ( 2714): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 2714): #0      FirebaseCoreHostApi.initializeCore (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:205:7)
E/flutter ( 2714): <asynchronous suspension>
E/flutter ( 2714): #1      MethodChannelFirebase._initializeCore (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:29:44)
E/flutter ( 2714): <asynchronous suspension>
E/flutter ( 2714): #2      MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:73:7)
E/flutter ( 2714): <asynchronous suspension>
E/flutter ( 2714): #3      Firebase.initializeApp (package:firebase_core/src/firebase.dart:42:31)
E/flutter ( 2714): <asynchronous suspension>
E/flutter ( 2714): #4      main (package:falabella/main.dart:31:3)
E/flutter ( 2714): <asynchronous suspension>
E/flutter ( 2714): 
@darshankawar darshankawar added the triage Issue is currently being triaged. label Jul 5, 2022
@iandis
Copy link

iandis commented Jul 5, 2022

For me, downgrading firebase_core_platform_interface to 4.4.1 resolves the issue

@darshankawar
Copy link

FirebaseCoreHostApi.initializeCore (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:205:7)

@ysahin20 What version of firebase_core and firebase_core_platform_interface are you using ?

Can you try upgrading firebase_core to latest and firebase_core_platform_interface and see if these help ?

https://pub.dev/packages/firebase_core_platform_interface/changelog

@darshankawar darshankawar added the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Jul 5, 2022
@ysahin20
Copy link
Author

ysahin20 commented Jul 5, 2022

@darshankawar My firebase_core version is 1.12.0 on pubspec.yaml but i do not have the firebase_core_platform_interface. I will try adding firebase_core_platform_interface now.

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Jul 5, 2022
@ysahin20
Copy link
Author

ysahin20 commented Jul 5, 2022

Well, when i was trying to upgrade a specific plugin, i accidently upgrade all of the plugins and then the code started without error. Most probably, the version of the firebase_core was the problem. Anyway my problem has solved. Thanks for your comments and suggestions.

@ysahin20 ysahin20 closed this as completed Jul 5, 2022
@darshankawar darshankawar added resolution: solution-provided A solution has been provided in the issue. and removed Needs Attention This issue needs maintainer attention. triage Issue is currently being triaged. labels Jul 6, 2022
@deepsan98
Copy link

Still getting this error, even if I update all firebase packages to last version, and also if I pin firebase_core_platform_interface to 4.4.1 (note that it is dependency_overrides).

@firebase firebase locked and limited conversation to collaborators Aug 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: solution-provided A solution has been provided in the issue.
Projects
None yet
Development

No branches or pull requests

5 participants