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

CBCentralManager.authorization is not supported #46

Closed
NeverwinterMoon opened this issue Jun 23, 2021 · 2 comments
Closed

CBCentralManager.authorization is not supported #46

NeverwinterMoon opened this issue Jun 23, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@NeverwinterMoon
Copy link

This is something that exists since iOS 13 (so, pretty old by now) and can be used to check app's authorization even before initing CBManager.

Sadly, using the recommended approach of aliasing for CBM, I had to hide my production code behind build configuration flags in order to be able to use CBM, as I am using CBCentralManager.authorization

So, would be nice to have CBCentralManager.authorization and CBManagerAuthorization

iOS 13.0: https://developer.apple.com/documentation/corebluetooth/cbmanager/3180033-authorization
iOS 13.1+: https://developer.apple.com/documentation/corebluetooth/cbmanager/3377595-authorization

@philips77 philips77 added the enhancement New feature or request label Jun 23, 2021
@philips77 philips77 self-assigned this Aug 1, 2021
@philips77
Copy link
Member

Hi, could you please review #54?

@philips77
Copy link
Member

The PR has been merged to develop.

@philips77 philips77 removed their assignment Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants