Is there a way to run requestDevice without the automatic dialog? #660
-
Most bluetooth apps on IOS allow you to scan for devices and then choose from a list that matches the UI of the app itself, is there a way for me to display the scan results manually without opening the automatic dialog box? I live in a block of flats and when I open it, I get maybe 30-40 'unknown' devices that makes it extremely difficult to click the bluetooth printer as its constantly shifting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Apologies... I'd followed an outdated tutorial on medium and have now reread the docs... Using requestLESScan without the service ID and simply using the { allowduplicates: false } object has allowed me to show a list of printers to connect to and use Great package! Works a treat! |
Beta Was this translation helpful? Give feedback.
Apologies... I'd followed an outdated tutorial on medium and have now reread the docs...
Using requestLESScan without the service ID and simply using the { allowduplicates: false } object has allowed me to show a list of printers to connect to and use
Great package! Works a treat!