I'm not sure maybe the way you have your fonts setup is the cause check this github.com/flutter/flutter/issues/75832#issuecomment-1247712319 If you watch the 2nd half of the video it'll show you how to fix the CORS issue and you can continue using canvaskit
Hello, I would be happy if I could get a quick answer. I build Flutter web and upload my files to the ftp server, I get a CORS error. I didn't use Github. Can I overcome CORS error without using Github, please help me
Yes, the CORS error would be fixed where you are hosting the images, it actually has nothing to do with Github. In this example I host my images in AWS S3 so that's where I added the CORS policy. If you are hosting your images on your own server then you need to add the CORS policy there so that images served from your server can be accessed by your website
Hello i tried to upload one image through web on firebase using image_picker but error happened: Unsupported operation: Platform._operatingSystem. Can you help me??? Thanks in advance!
OMG man thank you so much without this video I would not have been able to find the solution
Glad you found it!
Thank you man
you save me two hours of work, thx
Glad to hear!
Hi! love your solution. but in my case its italicized all my text, any suggestion on why this happened?
thank you, you make my life easier!
Even after deploying using html web renderer it does not work where as in debug it's working as expected. Only after deployment images are not loaded.
In that case you should just update the CORS policy for your images as shown in the 2nd half of the video
Hi! love your solution, but its italicized all my text if use html renderer. any suggestion why this happened?
I'm not sure maybe the way you have your fonts setup is the cause check this github.com/flutter/flutter/issues/75832#issuecomment-1247712319
If you watch the 2nd half of the video it'll show you how to fix the CORS issue and you can continue using canvaskit
It only works for debug but how we can do for release?
This shows how to fix images in production/ release. What isn't working for you?
Hello, I would be happy if I could get a quick answer. I build Flutter web and upload my files to the ftp server, I get a CORS error. I didn't use Github. Can I overcome CORS error without using Github, please help me
Yes, the CORS error would be fixed where you are hosting the images, it actually has nothing to do with Github. In this example I host my images in AWS S3 so that's where I added the CORS policy.
If you are hosting your images on your own server then you need to add the CORS policy there so that images served from your server can be accessed by your website
Hello i tried to upload one image through web on firebase using image_picker but error happened: Unsupported operation: Platform._operatingSystem. Can you help me???
Thanks in advance!
For web you need to use image_picker_for_web
Can you explain what is createcodec url ??
Where are you seeing this?