kivy / kivy/python-for-android
Missing permissions
- Ngôn ngữ chính
- Python
- Star
- 8.9k
- Fork
- 2k
- Merge trung bình
- 12 giờ 20 phút
- Pull request đã merge (30 ngày)
- 9
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with android.permissions.py and the permission entries supplied through buildozer.spec, then trace how declared permissions reach the Android app and how runtime requests are made. Reproduce the example with ACCESS_MEDIA_LOCATION and READ_MEDIA_VISUAL_USER_SELECTED; done means the app requests these permissions and check_permission() reports their results correctly.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, python
- Lĩnh vực
- build-system, mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100