GCWizard / GCWizard

GC Wizard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading files on web

S-Man42 opened this issue · comments

We often have the problem with the GWCOpenFile in the web view. Most of the images given by an URL cannot be loaded as well as GWC/LUA files.

I guess, it's a combination of async operations and the http package. We should put some effort into this, to get the File/WIG functions working on the web version.

Hm, interesting.... Now I have to evaluate, how to make my provider allowing CORS (we don't really run a fully own manageable server unfortunately)...

Hm, interesting.... Now I have to evaluate, how to make my provider allowing CORS (we don't really run a fully own manageable server unfortunately)...

Ok, but even if you can solve this, I unfortunately just noticed that the server from which the image is requested must also allow CORS. 😕

Hm, interesting.... Now I have to evaluate, how to make my provider allowing CORS (we don't really run a fully own manageable server unfortunately)...

Ok, but even if you can solve this, I unfortunately just noticed that the server from which the image is requested must also allow CORS. 😕

Looks like this Problem is not really possible to solve 😢: https://docs.flutter.dev/platform-integration/web/web-images#cross-origin-images