Missing permissions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, python
- Domain
- build-system, mobile
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 2k
- Avg merge
- 12h 20m
- Merged PRs (30d)
- 9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kivy/python-for-android
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
kivy/python-for-android#3335 · 1 comment · 3 reactions ·
-
Documentation easy
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kivy/python-for-android#3326 · 1 comment ·
-
Documentation easy Priority: Low
Difficulty 1/5 Under an hour Newbie friendliness 88/100
kivy/python-for-android#3299 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
kivy/python-for-android#3382 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
kivy/python-for-android#3381 ·
All issues in kivy/python-for-android
Similar issues
-
area: harness bug status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Human-Agent-Society/reef#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
learningequality/kolibri#15351 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Name consistency Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eellak/triplestore#65 · 1 comment ·