python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

Missing permissions

Open sysnux opened this issue 9 months ago • 0 comments

Hi !

READ_MEDIA_VISUAL_USER_SELECTED and ACCESS_MEDIA_LOCATION are missing from android.permissions.py, so I added them to my app: from android.permissions import request_permissions, check_permission, Permission Permission.ACCESS_MEDIA_LOCATION = ("android.permission.ACCESS_MEDIA_LOCATION") Permission.READ_MEDIA_VISUAL_USER_SELECTED = ("android.permission.READ_MEDIA_VISUAL_USER_SELECTED") And I also added these permisssions to buildozer.spec. If I manually change Andriod parameters to grant or revoke these permissions, check_permission() indeed reports correct information. But the app itself does not ask for these permissions to the user: what am I missing?

Thanks.

sysnux avatar May 22 '25 04:05 sysnux