Bug 464431 - Unable to share Download folder on Android
Summary: Unable to share Download folder on Android
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 13.x
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-17 21:22 UTC by promike1987
Modified: 2023-03-19 20:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description promike1987 2023-01-17 21:22:57 UTC
STEPS TO REPRODUCE
1.  Plugin settings
2.  Filesystem Expose
3.  Add storage location
4.  Select 'Download'

OBSERVED RESULT
Can't use this folder.
To protect your privacy, choose another folder

EXPECTED RESULT
I successfully share the folder

SOFTWARE/OS VERSIONS
Android 13
KDE Connect 1.21.1

ADDITIONAL INFORMATION
This is somewhat annoying since I installed KDE connect to reach that folder.
Comment 1 Albert Vaca Cintora 2023-03-19 20:26:34 UTC
Git commit 1ba9e59872e811615a152882469e9b9f07cc7001 by Albert Vaca Cintora, on behalf of Albert Vaca Cintora.
Committed on 19/03/2023 at 20:26.
Pushed by albertvaka into branch 'master'.

SftpPlugin: use MANAGE_EXTERNAL_STORAGE instead of SAF in Android 11+

https://developer.android.com/training/data-storage/manage-all-files
Related: bug 447636

M  +1    -0    AndroidManifest.xml
M  +1    -0    res/values/strings.xml
M  +63   -26   src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java
M  +14   -5    src/org/kde/kdeconnect/Plugins/SftpPlugin/SimpleSftpServer.java
M  +20   -2    src/org/kde/kdeconnect/UserInterface/StartActivityAlertDialogFragment.java

https://invent.kde.org/network/kdeconnect-android/commit/1ba9e59872e811615a152882469e9b9f07cc7001