webviewextra should now allow you to download files from blob urls. You will not get a notification like you do with ordinary downloads, and because blob urls generally do not have a filename, a filename is created using the format file_currentMilliseconds.ext.
This functionality has taken over two years to apply, much digging and searching on the internet finally resolved with this post in July 2024
That could be tricky, very often urls are obfuscated/dynamically generated within the standing website that would mean nothing as a url back in the app, e.g. blob urls. I have no real desire to include such functionality (things are complicated enough !).
Hi @TIMAi2 I really like your extension and currently I am using it on my project, your extension works very well and there are no problems, it's just that I am confused why the "when WebviewExtra.Downloaded" block does not work as I expected, which is when the download file is complete, the event should be triggered, but instead the event is triggered when the download just started. If that's how it works, is it possible for you to add an event that can be triggered when the download is completed?
I had a problem in the code, with the downloaded not working 'after' the download. So had to move it before. There are unlikely situations where the actual download will not occur but you get the downloaded event.
To compensate for this, you could run a FileExists test using the File component.
When I have the time and motivation I will figure out the issue, and get things working in the correct order and as they should!
Hi, Please let me know if you will be releasing an update for the below compliance need by google.
In October 2023, we announced the Photo and Video Permissions policy to enhance user privacy by limiting the number of apps with access to broad photo and video permissions (READ_MEDIA_IMAGES and READ_MEDIA_VIDEO). Starting January 22, 2025, your app must comply with this policy.8
(now only READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions declared in the manifest, no other permissions.For beta testing. Uploads and Downloads working for me when compiled on Android 15)
Correct me if I'm wrong, I think you've made READ/WRITE provisions to access MEDIA images, video. 3rd bullet in the below link
sets READ and WRITE and MEDIA permissions in the app / aia project, enabling the setting of Legacy as a default filescope for storage of files in Shared directories.
See above, MEDIA permissions removed. Please test (in app and on Google Play Store). The extension uses SAF (ACTION_OPEN_DOCUMENT) which is the fallback if Android File Picker is not available.