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

getBluetoothAuthorizationStatus wrong example #485

Open
si458 opened this issue Nov 17, 2022 · 2 comments
Open

getBluetoothAuthorizationStatus wrong example #485

si458 opened this issue Nov 17, 2022 · 2 comments

Comments

@si458
Copy link

si458 commented Nov 17, 2022

Documentation issue

you list getBluetoothAuthorizationStatuses but it doesnt appear anywhere in the javascript files?

the example for getBluetoothAuthorizationStatus shows using getBluetoothAuthorizationStatuses ?

@si458 si458 changed the title getBluetoothAuthorizationStatuses is missing getBluetoothAuthorizationStatus wrong example Nov 17, 2022
@infacto
Copy link

infacto commented Nov 24, 2022

I guess you are using the awesome-cordova-plugins wrapper? Or Ionic Native or Capacitor? I'm facing the same issue.

The method getBluetoothAuthorizationStatuses (plural) exists. Not testet on JavaScript. But I see this method on runtime using DevTools. Just type in console cordova.plugins.diagnostic.getBluetoothAuthorizationStatuses.

The awesome-cordova-plugins only includes the getBluetoothAuthorizationStatus (singular). See code

I wanted to create an issue there. But I see you already did: danielsogl/awesome-cordova-plugins#4432

I think this issue here can be closed?

@si458
Copy link
Author

si458 commented Nov 24, 2022

Hi
Yes sorry I should of puts edits in, I discovered the code and then changed the title and issue but forgot to comment about I'm using the typescript add on and the issue was in fact there

but the example for getBluetoothAuthorizationStatus in your readme is still wrong tho haha

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