tr3v3r / react-native-esc-pos-printer

An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android
MIT License
164 stars 71 forks source link

TM-P80 not discoverable (BT) on Android 10 #110

Closed brianjd closed 1 year ago

brianjd commented 1 year ago

I have a TM-P80 and an Android 10 device. I have confirmed the necessary permissions etc. But BT discovery always returns an empty array. I have experimented with increasing the discovery timeout with no luck. The printer works fine with an iOS device I have running the same app. Any suggestions?

zain-saffi commented 1 year ago

@brianjd Greetings, Were you able to solve this? I am currently facing same issue.

brianjd commented 1 year ago

@zain-saffi My problem had to do with how iOS handles BT devices. Since the iOS device had to be paired, it prevented the printer from being discovered by other devices. Removing the iOS pairing made the printer discoverable across multiple Android devices. 🥴