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.
It looks like it works, but sometimes it detects a downloaded file, and sometimes it doesn't.
I think I should try it on a few devices. By the way, thanks for taking the time to fix it.
@TIMAI2 Previously I used your suggestion by using the Clock and File components to check if the file exists meaning Download Completed, but it turns out this method does not work for some files, such as ZIP files while downloading it's immediately notifying me that the file has been downloaded even though it is not finished, so I tried another way. I used the extension below, and it seems to work.
So this extension can trigger when the file is downloaded successfully. but "OnGet" always returns empty. Maybe if anyone knows what is wrong with my block, could help me fix this. I would really appreciate it. But the point is, perhaps you can get an idea and fix your extension. @TIMAI2
Fixes Downloaded Event, so that it now runs after the file has completely downloaded. Credits @Kumaraswamy for the code. The Downloaded Event only works correctly when app is compiled. Developers should use the DownloadDataDebug Event when developing/testing with companion app (but this fires when the download is initiated).