react-native-esc-pos-printer icon indicating copy to clipboard operation
react-native-esc-pos-printer copied to clipboard

Bluetooth discovery not working with IOS

Open TwenLeMammouth opened this issue 3 years ago • 4 comments

Hi, Sorry I have another problem, nothing is discovered with bluetooth even after pairing the printers first it the Ipad settings, or by using 'pairingBluetoothPrinter()'. Also, I tried using the printers in USB, but couldn't find anything either, and none of the printer's internal settings talk about USB, is it really possible to use it.?

TwenLeMammouth avatar Jun 07 '22 06:06 TwenLeMammouth

I am also facing an issue with print by Bluetooth on IOS

me-ibad avatar Jun 15 '22 22:06 me-ibad

@TwenLeMammouth which printer model are you using for Bluetooth?

fragilehm avatar Jun 22 '22 09:06 fragilehm

It was TM-m30, but I don't have them anymore..

TwenLeMammouth avatar Jun 22 '22 09:06 TwenLeMammouth

This doesn't work for me either when I run the example project. But it works when I install the package to my own project.

fragilehm avatar Jun 28 '22 09:06 fragilehm

add this to info.plist file.

		<key>UISupportedExternalAccessoryProtocols</key>
		<array>
			<string>com.epson.escpos</string>
		</array>

jaaahh avatar Feb 23 '23 11:02 jaaahh

It would be great if someone could update the example project since I don't have Bluetooth printer to test. (only LAN)

@fragilehm @jaaahh ? =)

tr3v3r avatar Feb 24 '23 12:02 tr3v3r

@jaaahh solution worked for me! So now bluetooth works great

tolypash avatar Jul 06 '23 19:07 tolypash

Close issues since the install section contains this info:

https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/INSTALLATION.md#when-the-bluetooth-or-usb-is-used-set-the-protocol-name-set-the-protocol-name-according-to-the-following-procedure

tr3v3r avatar Sep 11 '23 12:09 tr3v3r