dropzone view: targetplatform.windows is not supported
I am using this library in my web app not desktop app but I am still facing this issue . its working fine in debug mode but when we go to live server or you say release mode i am facing this issue
Could you come up with a reproducible repo?
what do you mean by reproducible repo?
A very small project, a minimal one, that shows the problem and allows me to reproduce it. Because, as things stand now, I can't make that error appear myself, so I have no idea what leads to it and how I can fix it.
@deakjahn , here is the sample project link. please download it and make it live on server. because we are getting target platform error on our live server. in local it's working fine. our app is developed for Android, IOS, and web. but this we allowing this feature is only for web . please make it supported for Window and MacOs as well. I think it might be creating problem because this library is not supporting Windows and MacOs.
https://drive.google.com/file/d/1644K50Sx_-imnKUYcEyqlJTj58xHXkCx/view?usp=sharing
@deakjahn We are working on a social media website called Werfie (https://werfie.com) which is similar to Twitter. We would love to dropzone developed by you in werfie. You will get credit for it as well in our website Credits section. I request you to please update us with the issue that we are facing while using dropzone in our website. We are expecting to launch the new version of werfie.com on Monday next week and this issue is holding the release. I request your immediate attention on this. waiting for your response...
@Asad0473 Then please, help me what to look for :-) I downloaded it, put it into Android Studio and built for the web. I uploaded it to my test site, temporarily at http://teszt.tramontana-teszt.hu/#/. When I start it, it starts, when I drag an image into it, it appears. I'm testing in Vivaldi, a Chrome based browser but I also tried Edge to be sure.
Its not working on my website
But does my test at the link above work for you, in your browser?
sorry its working fine in my browser
but its not work for https://werfie.com/ ..
Maybe its not working for secure website
I don't think so but I can add a cert to my test in a few minutes. In the meantime, could you do the same as I did? I built your sample simply with:
flutter build web
or
flutter build web --web-renderer canvaskit
and upload the contents of build/web to anywhere on your site into a new folder that I can access from outside?
It's HTTPS now: https://teszt.tramontana-teszt.hu/#/
Ok i test it
I don't really know where you plan to use it on the site. In the dialog to send a post?
yes in dialog to post
Right now I get a window showing the image and the browser has CORS error messages. But nothing about Windows...
https://staging.werfie.com/ use this link and you see the error in post dialog
I tried with the real one, with a disposable e-mail, but didn't send any message. :-) I'll try to register the same here.
see this image @deakjahn