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

Add dialog before prompting for Improv permissions #4837

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jpelgrom
Copy link
Member

Summary

Based on feedback: add a dialog explaining why the app is about to request permissions for scanning for Improv devices. This should prevent users from denying it because it is not understood. Note that the 2nd prompt may not actually result in a system prompt if it is auto-denied.

Moves some code from onboarding views and bottom sheet dialogs to utility files where it is now used in more places.

Screenshots

Light Dark
Add integration with a bottom dialog sheet titled 'Search devices', light mode Add integration with a bottom dialog sheet titled 'Search devices', dark mode

Link to pull request in Documentation repository

n/a

Any other notes

related to home-assistant/iOS#3104

 - Add a dialog explaining why the app is about to request permissions for scanning for Improv devices. This should prevent users from denying it because it is not understood.
 - Move some code from onboarding views and bottom sheet dialogs to utility files where it is now used in more places.
 - Note that the 2nd prompt may not actually result in a system prompt if it is auto-denied.
Copy link
Member

@dshokouhi dshokouhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement and always good to inform the user about things like this! Tested the APK and it works well. I really dig these bottom style sheets!

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

Successfully merging this pull request may close these issues.

2 participants