Opening saved files from webapp
-
@MrT10001 For whatsapp webapp please check the solution here: https://forums.ubports.com/post/77721
Regarding permissions, how do I setup permissions for a webapp?
-
@mihael When I set up the Webapp I noticed a checkbox to link (dammit, I should have screenshotted) which I am trying to reproduce, but failing. When I have more time I am going to sit down and work this out (unless someone with more knowledge sorts it out).
-
It is probably a permission issue. There are checkboxes in Webber. I believe one of them is export files/contents.
-
This is my setup. I would tick the two boxes I have circled in red.
Edit:
Successfully setup Whatsapp on my device (thanks for the useragent tip), I still cannot open images in Gallery, even though I have selected it.
-
@MrT10001 It looks like you managed to reproduce the issue that I'm talking about...
-
And it's the same with any other type of documents, like pdfs, etc - no downloads can be opened directly from the webapp's downloads list.
-
I made a webapp for another website and there is no problem to open downloaded pictures directly in Gallery from that webapp... So it only happens to web.whatsapp.com... What could the problem be then?
-
This post is deleted! -
@mihael At a guess it will be security related on the WhatsApp side.
-
@MrT10001 And what could it be? - so that I could work around that... I'm rather sure it's a bug because once the file is in the download list, the website should not be able to interfere with the webapp... unless it has anything to do with the name of the file - which name is indeed related to whatsapp.
The thing is that the logs don't show any helpful information in this matter...
-
@mihael Logic would point to the Whatsapp side if another webapp was able to open images directly in gallery.