Bug 431000

Summary: Android 10 permission denied when receiving file
Product: [Applications] kdeconnect Reporter: paolomentasti99
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: burster, heri+kde, lubimov.maxim+kde, mbnoimi, todoleza, valdikss
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 10.x   
See Also: https://bugs.kde.org/show_bug.cgi?id=451437
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description paolomentasti99 2020-12-31 10:57:57 UTC
It cannot receive files from desktop, even if access to directory (Download or whatsoever) was granted. `logcat` displays a "permission denied" error.
This issue only happens with Android >= 10, so I guess it's caused by the Android >= 10 storage handler.

A quick fix (tested) is adding `android:requestLegacyExternalStorage="true"`  to the manifest, otherwise the `MediaStore` api should be used.
Comment 1 Muhammad Bashir Al-Noimi 2021-02-04 08:26:28 UTC
This bug occurs on both of my phones (Android 10 & 11).
Comment 2 2wxsy58236r3 2021-02-27 12:42:10 UTC
*** Bug 432368 has been marked as a duplicate of this bug. ***