leesiongchan / react-native-esc-pos

A React Native ESC/POS module to help you connect to your ESC/POS printer easily.
MIT License
80 stars 84 forks source link

Connection timeout #47

Open allankwok opened 4 years ago

allankwok commented 4 years ago

Hi, Thanks for your great plugin, I could successfully connected to my esc pinter, however, the connection between printer and App will sometime crash due to 'connection timeout' issue, could you suggest some way to check the connection status before printing?(or how to make it keep alive ?)

Thanks again!

rashidul-hasan commented 4 years ago

did you find any solution to this issue? I'm facing the same

leesiongchan commented 4 years ago

Have you tried using this https://github.com/leesiongchan/react-native-esc-pos#events ?