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

Check for phone permissions when using call intent #2344

Merged
merged 1 commit into from Mar 6, 2022

Conversation

dshokouhi
Copy link
Member

@dshokouhi dshokouhi commented Mar 5, 2022

Summary

Fixes: #2343 by adding the proper permission to the manifest and then directing users who have not granted the permission to the app info screen to grant the permission, just like we do for bluetooth permissions.

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#707

Any other notes

@dshokouhi
Copy link
Member Author

I have a feeling we may not be able to move forward with this PR because this might be one of those protected permissions we don't qualify for. Just realized it but will leave it open for discussion for now.

https://developer.android.com/reference/android/content/Intent#ACTION_CALL

Note: there will be restrictions on which applications can initiate a call;

@JBassett JBassett merged commit d05920d into home-assistant:master Mar 6, 2022
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.

Intent action.CALL does not work.
3 participants