Currently the macOS has_permission() method will actually stop code execution and prompt the user for granting permissions (which they could choose to decline also) — this led to problems in Helmer Micro where people were unable to grant it permissions even after multiple attempts.
This PR introduces a separate has_permission() and request_permission() method to try and tackle this.
Currently the macOS
has_permission()
method will actually stop code execution and prompt the user for granting permissions (which they could choose to decline also) — this led to problems in Helmer Micro where people were unable to grant it permissions even after multiple attempts.This PR introduces a separate
has_permission()
andrequest_permission()
method to try and tackle this.