Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove app permissions added by default #534

Closed
aminrasekh opened this issue Jul 22, 2017 · 2 comments
Closed

Remove app permissions added by default #534

aminrasekh opened this issue Jul 22, 2017 · 2 comments

Comments

@aminrasekh
Copy link

aminrasekh commented Jul 22, 2017

I have created an app and published on Play Store.

I had not set any app permission requirements anywhere. But when I want to install the app via play store, it requires the following permission:

Photos/Media/Files
- read the contents of your USB storage
- modify or delete the contents of your USB storage

It this added by buildozer by default? If yes, how can this be removed. Or even better, this default is just reconsidered.

Here is the spec file:
buildozer.txt

@inclement
Copy link
Member

Yes, this is added by default. The only way to remove it is to edit the python-for-android source, as it's currently hardcoded in the AndroidManifest.xml file.

The reason it's there is that it used to be required by Kivy, but it hasn't been essential for some time. It's possible that Kivy assumes it's available and will fail if it can't write there, but that just needs a small fix in Kivy itself. I've been meaning to look at this for a while, but it looks like there wasn't a python-for-android issue open about it, so I've made one at kivy/python-for-android#1081 .

I'll close this issue as it's a python-for-android issue, but thanks for raising it.

@aminrasekh
Copy link
Author

Thanks @inclement for the quick response and opening the new issue there in p4a.

Hopefully, this requirement is made optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants