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:
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.
I am currently running into a problem where when I call
window.plugin.brotherPrinter.findBluetoothPrinters(success, failure);
. It shows me this errorCan 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: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.