januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
368 stars 425 forks source link

Taking too much time to scan devices and the event doesn't trigger #44

Open JackClown opened 5 years ago

JackClown commented 5 years ago

React Native Version

0.57.4

Platform

ios 12.1.4

It takes about 30s to scan devices. And the EVENT_DEVICE_FOUND event like the sample can't trigger.

januslo commented 5 years ago

Are u running the example?

发自我的 iPhone

在 2019年4月18日,下午3:31,Shengjie Lu notifications@github.com 写道:

React Native Version

0.57.4

Platform

ios 12.1.4

It takes about 30s to scan devices. And the EVENT_DEVICE_FOUND event like the sample can't trigger.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

JackClown commented 5 years ago

No, not the example, just use as the doc. Ok , I find the emitter is different with which i use from the example. I'll try it. Thx

JackClown commented 5 years ago

But I find another problem.After I connect the device and there is no error catched, however the EVENT_CONNECTED is not triggered every time.