If I build the project for a WebApp, and using it by Chrome on a PC, it work, i can open the .jpg and the .pdf simply by clicking on the link.
Instead if I build the project for an Android Meteor App, and load it on my Android Device (Chrome browser installed), the .jpg work, but the .pdf do not work.
When i click on the .pdf link nothing happen.
I already try this solution, it will only work if the file url is from web but cannot load local file. For example, it only can load “http://example.com/test.pdf” but not “/test.pdf” url
So there is no solution for this problem ?
It is a real problem because there is no consistence, on WebApp work and on the Meteor App do not work.
it would be better if it breaks in both cases
i received [INFO:CONSOLE(0)] "Not allowed to load local resource: file:///android_asset/webkit/android-weberror.png", source: data:text/html,chromewebdata (0)
I am not sure about your use case. But if you are using meteor the public folder would be on the webapp as well. you can give the full path to access the file on the server where your app is hosted
It’s a dangerous assumption that this is a good place to store uploaded files. The public folder is intended for application assets bundled as part of the deployment. On container-based deployments (including Galaxy), files uploaded to public are not protected over migrations to new containers (for example on updates), and will not even exist on other containers in a scale-out deployment.