GopeedLab / gopeed

A modern download manager that supports all platforms. Built with Golang and Flutter.
https://gopeed.com
GNU General Public License v3.0
15.99k stars 1.13k forks source link

Unable to choose and create download folder #622

Closed franco27 closed 3 weeks ago

franco27 commented 2 months ago

Hello

Gopeed Version: 1.5.7.

I just discovered your download manager for android on my smartphone.

I am having trouble setting the download folder because there is an error message. I want to point out that in the phone settings, I have authorized or enabled permission to access storage for your application. I have also enabled permission to run in the background and disabled battery optimization.

Unfortunately, I am still unable to change the setting. The error message is still displayed. See the screenshot.

My smartphone system configuration Xiaomi Redmi 8 Android Version 10 Android 10 MIUI V12.5.2.0.QCNEUXM

Architecture 64-bit

Instruction sets arm64-v8a armeabi-v7a armeabi Qualcomm® Snapdragon™ 439

CPU 4 x Cortex-A53 Cores 8 RAM size 4 GB

franco27 commented 2 months ago

az_recorder_20240726_222528_edited.jpg

monkeyWie commented 2 months ago

It seems that there is no permission to access external storage, this is a limitation of the Android, most models and operating systems can be accessed normally, if you can't switch to the external download directory, it will automatically fall back to the APP internal storage directory.

franco27 commented 2 months ago

I did not receive a prompt to enable storage access permission from Gopeed on my mobile phone. However, I went to the Android settings for your app and enabled storage access permission and granted permission to your app.

I still have this error message that is preventing me from choosing the download folder on my phone. The default folder is a user folder or for user data of your app, and I do not want to download there.

monkeyWie commented 2 months ago

I understand what you mean, but it's not a permission grant issue, it's that some Android phones just can't access external storage, unfortunately, there is no solution right now, I can only try to check write permissions and fallback it.

franco27 commented 1 month ago

To read your message, it seems that my mobile phone has a problem. I know that Xiaomi brand phones can have issues with various aspects of this system. Having tried many download managers on the Play Store and F-Droid, I thought it was important to report this to you because it is only with yours that I have problems configuring the download folder.

Currently, I am using Download Navi, an open-source download manager as well, but I was looking for another one since the latest version dates back to 2021. However, it works perfectly on my Xiaomi phone, and I can configure the download folder. The other download managers I tested on the Play Store, such as ADM, 1DM, FDM, and Turbo Download Manager, have not caused me any issues configuring the download folder.

When I mentioned that I didn't receive a prompt inviting me to allow access to storage, it's because with the other apps, I had that prompt showing the Android file manager, and in the Android file manager, there was an "Allow" button that appeared on the screen.

However, on my second, more recent phone which is running Android 14 and is a Motorola, I have no issues with your download manager.

monkeyWie commented 1 month ago

I want to build a fixed apk, can you help me test it?

franco27 commented 1 month ago

I don't know anything about computer programming, but I can help you test an APK version.

monkeyWie commented 1 month ago

Hello, you can test this APK, it will request grant storage permission when toggle to Download directory.

https://drive.google.com/file/d/1AAu07xoBfsXTF1h_cDTB0ifnxGTmm62n/view?usp=sharing

franco27 commented 1 month ago

I just tested the APK file. You have resolved the issue, and I can now choose the "downloads" folder on the mobile phone Android 10. The folder is created (Gopeed). Thank you.

monkeyWie commented 1 month ago

Ok, it will be release in next version

monkeyWie commented 3 weeks ago

fixed in v1.5.9