Problem requesting storage permission on android 13

1,619 views
Skip to first unread message

Hugo Cezar

unread,
May 11, 2023, 10:16:07 AM5/11/23
to Kivy users support
I made a very simple application that is a button that, when clicked, a storage permission interface should appear:


code.png

On android 10 it works perfectly and is asked for storage permission. But when trying on android 13 it didn't work, even in the app settings the storage permission doesn't even appear.

buildozer.spec
android.api = 33
#android.minapi = 21
#android.sdk = 20
android.ndk = 25b
#android.ndk_api = 21
android.permissions =  INTERNET,READ_EXTERNAL_STORAGE,WRITE_EXTERNAL_STORAGE

android 13:
Screenshot_20230511_111317_Permission controller.jpg

I also know that in the api >= 30 it is not necessary to READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE but if I don't include it in android.permission it doesn't work either in android 10 and 13, and if I include it it works in android 10.

Hugo Cezar

unread,
May 11, 2023, 10:23:04 AM5/11/23
to Kivy users support
Screenshot_20230511_111539_Permission controller.jpg

Robert

unread,
May 11, 2023, 12:34:05 PM5/11/23
to Kivy users support
Reply all
Reply to author
Forward
0 new messages