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

Attempting to Call Bluetooth function Error #73

Open
Jack-Drake opened this issue Jul 30, 2024 · 1 comment
Open

Attempting to Call Bluetooth function Error #73

Jack-Drake opened this issue Jul 30, 2024 · 1 comment

Comments

@Jack-Drake
Copy link

I am currently running into a problem where when I call window.plugin.brotherPrinter.findBluetoothPrinters(success, failure);. It shows me this error Can request only one set of permissions at a time. There is a screenshot shown below with the current Log being shown when the function is called:

image
It seems to show this error and then it does return printers nor does it return an error.

The code below is the cause of this error
window.plugin.brotherPrinter.findBluetoothPrinters( (printers) => { console.log("Printers: ", printers); }, (reason => { console.log("Reason: ", reason); }) );

I have tried to fix this in different ways. I read through the previous issues and could not find a similar issue. I also tried to diagnose it maybe some of my previous code is requesting permissions but it does not seem to be the case because there are no other permissions being asked from my code. Any help is appreciated.

@Jack-Drake
Copy link
Author

Any help is appreciated, I have looked everywhere for a solution and I can not seem to find one.

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

1 participant