-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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] MissingPluginException when using firebase_storage via flutter_isolate #10514
Comments
Thanks for the report. Cloning the repo and then added local firebase app's |
facing the same issue does anyone have any solution for this as it is running absolutely fine in android but throws MissingPluginException on iOS. |
I also got this error
@nmfisher Do we need to create this ticket to flutter_isolate repo? we have no idea, why this happened on iOS only. |
same with workmanager (Flutter version 3.7.10). Anybody found a workaround? |
I also got this error.
|
Facing this issue as well. |
3 months later, but facing the same issue. Is there any update yet? |
I have the same problem. Any solution? |
@yoman07 I have downgraded my Firebase storage dependency to 10.x for now. |
Thank you @eran247 . I fixed it by modified firebase_storage plugin but it it's just temporary hack |
Seeing the same error. Trying to upload files in the background on iOS using work manager. Can't downgrade firebase_storage due to other dependencies. Stuck until this is resolved. |
I'm seeing the same thing. |
I found a workaround. Upload using the cloud storage http resumable upload api. I also created a cloud function to generate the access token.
|
@scottynoshotty Could you post your cloud function, please? |
I have the json key from one of my service accounts in the same dir as my functions. I know it's bad security practice but it's what I've found works (certainly won't submit to Github)
|
Is there a solution for uploading images to Firebase Storage using Isolate that works on both Android and iOS? |
I've been facing the same problem since Feb. However, the error appears to have changed. Currently, the issue manifests as follows on my end:
|
I can confirm that it looks like the error has changed. Problem still exists... |
Isolates won't work for this task because it uses the event channel (i.e. native -> dart). I tried without the use of
There is an open issue on Flutter for this specific purpose: flutter/flutter#119207 This won't work until the above issue is resolved. |
Bug report
Describe the bug
Trying to upload a file in a flutter isolate to firebase storage fails on iOS with the following error message. On Android, everything works as expected. At first, I thought the error was the same as #9790, but it is a different error. For simplicity, I have forked the example project of that ticket and adapted it.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The file should be uploaded correctly as on Android.
Sample project
https://github.com/guenth39/firebase-storage-isolate-issue-sample-app
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: