mazenrashed / Printooth

A well documented, high-level Android interface that makes printing via bluetooth printers easier
Mozilla Public License 2.0
401 stars 114 forks source link

Bluetooth Devices not showing - ScanningActivity #79

Open jalaljankhaan opened 3 years ago

jalaljankhaan commented 3 years ago

Greetings, I'm using Printooth library to connect with a thermal printer namely Sewoo IK P41. Sometimes it perfectly scans for available bluetooth devices but when the app is Offline it takes more time to scan or find available bluetooth devices. And at the end it doesn't show any available bluetooth device on ScanningActivity. Doesn't even show any error like "Scanning Timeout", "No device found".

In short, ScanningActivity sometimes doesn't work properly offline.

Please help me to resolve it.

Regards,

ralphgabrielle commented 1 year ago

Did you fix this? Im also facing the issue problem, any ideas would be a big help. Thanks

adarsh-dhakad commented 1 year ago

I am also facing the same issue then I turn on the location now its working fine

salihinalfarizi commented 7 months ago

already found solution for this issue...

you need request location permission, and set location device to active before run scanning bluetooth.