sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

HomeKit Permission #286

Closed voltangle closed 2 years ago

voltangle commented 2 years ago

Feature Description I can't find any mentioning of HomeKit permission in SPPermissions, I think it's missing, can you add it? Thanks in advance!

ivanvorobei commented 2 years ago

Hello, HomeKit doesn't supported by now

voltangle commented 2 years ago

Hello, HomeKit doesn't supported by now

Understood, can you add support for it?

ivanvorobei commented 2 years ago

@ggoraa can you provide code for request permission?

voltangle commented 2 years ago

@ggoraa can you provide code for request permission?

Sorry, unable to find any :(

Documentation says that it is automatically asked when a HKHomeManager (or something like that) is instantiated. So, possibly manually asking a permission is not needed 🤷‍♂️

ivanvorobei commented 2 years ago

@ggoraa yes, exactly. Maybe available way to trigger it, we can move it code to permission request. Same work for local network permission