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

Permissions - Ask permissions only when needed #6

Closed
RoadXY opened this issue Nov 18, 2015 · 1 comment
Closed

Permissions - Ask permissions only when needed #6

RoadXY opened this issue Nov 18, 2015 · 1 comment
Labels

Comments

@RoadXY
Copy link
Contributor

RoadXY commented Nov 18, 2015

Currently when starting the app for the first time on Android Marshmallow, Domoticz immediately requests all permissions as advised by the Android guidelines for permissions here:
http://developer.android.com/training/permissions/best-practices.html#dont-overwhelm

Relative parts:
If you confront the user with a lot of requests for permissions at once, you may overwhelm the user and cause them to quit your app. Instead, you should ask for permissions as you need them.

If your app provides a tutorial, it may make sense to request the app's essential permissions at the end of the tutorial sequence.

Instead, wait until the user tries to use the feature which requires the permission and ask for the permission then.

@galadril
Copy link
Owner

galadril commented Dec 2, 2015

I've fixed this matter in v0.1.142

@galadril galadril closed this as completed Dec 2, 2015
galadril added a commit that referenced this issue Dec 2, 2015
#6 - Ask Permissions when needed
#6 - Ask Permissions when needed
#6 - Ask Permissions when needed
galadril pushed a commit that referenced this issue Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants