deakjahn / flutter_dropzone

A drag-and-drop Flutter plugin (Web). Only web and only from outside into Flutter.
https://pub.dev/packages/flutter_dropzone
85 stars 36 forks source link

Dropzone not working when deployed to firebase #72

Open WiseEye opened 6 months ago

deakjahn commented 6 months ago

Please, help me what "deployed to Firebase" means. I never used Firebase myself for anything... So, without a reproducible sample, I don't really know whether to make heads or tails of it...

arioul89 commented 3 months ago

Same here, @WiseEye means firebase hosting.

On any flutter project you can init firebase, then you run :

flutter build web firebase deploy --only hosting

deakjahn commented 3 months ago

And can you use the deployed web app publicly? Then could you just deploy something, temporarily, and provide a URL to it? Because I don't even know what the problem is, whether there's an exception, an error mesage or anything...

Kurogoma939 commented 2 months ago

@arioul89 @deakjahn

I had the same problem with a web app deployed with Firebase Hosting. I was using Chrome as the browser.

I had the same phenomenon right after deployment, but it was resolved after clearing the browser cache and hard reloading.

If you are on a Mac, please try ⌘ + Shift + R or launching the browser's verification mode and doing a hard reset.

MousyBusiness commented 1 month ago

I'm seeing this issue also. The dropzone works in a local chrome browser, but when hosted in Firebase it seems to think it is a macOS app. Any solutions?

deakjahn commented 1 month ago

Could you be a bit more specific and describe what actually the problem is? I couldn't find that info in the thread. :-) It doesn't start, it starts but doesn't accept dropped files, it gives an error, some message or similar?

landon-ls commented 15 hours ago

I'm seeing this issue also. The dropzone works in a local chrome browser, but when hosted in Firebase it seems to think it is a macOS app. Any solutions?

same issue for me, works fine locally on chrome but gets "TargetPlatform.macOS not supported"

MousyBusiness commented 1 hour ago

I believe I solved this simply by cleaning between using Mac and building web