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

Support for Mac Catalyst #520

Closed
qpwr opened this issue Sep 6, 2024 · 3 comments
Closed

Support for Mac Catalyst #520

qpwr opened this issue Sep 6, 2024 · 3 comments

Comments

@qpwr
Copy link

qpwr commented Sep 6, 2024

I'm trying to make my app available on macOS through Mac Catalyst. I'm using your great plugin to check for features such as location, wifi and bluetooth. Unfortunately building fails for Mac Catalyst due to this error:

/Users/.../cordova.plugins.diagnostic/Diagnostic.m:10:9 'CoreTelephony/CTCellularData.h' file not found

Judging from Apples own documentation, this module should be available starting from Mac Catalyst 13.1, which seems to be equivalent with macOS 10.15.1 (https://developer.apple.com/documentation/coretelephony/ctcellulardata).

Would it be possible to make this work for future releases of the plugin? Or maybe I'm doing something wrong and it should already work?

Thanks in advance!

Marc

@qpwr
Copy link
Author

qpwr commented Sep 9, 2024

I found that a check to take care of this is pretty easy to implement, so I opened a PR with the necessary changes: #521

@dpa99c
Copy link
Owner

dpa99c commented Oct 5, 2024

Your PR was merged in plugin v7.2.0 which was just published

@dpa99c dpa99c closed this as completed Oct 5, 2024
@qpwr
Copy link
Author

qpwr commented Oct 5, 2024

Thank you!

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

No branches or pull requests

2 participants