Bug 431000 - Android 10 permission denied when receiving file
Summary: Android 10 permission denied when receiving file
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 10.x
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
: 432368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-31 10:57 UTC by paolomentasti99
Modified: 2022-08-05 15:57 UTC (History)
6 users (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 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. ***