react-native-bluetooth-escpos-printer
react-native-bluetooth-escpos-printer copied to clipboard
react-native-bluetooth-escpos-printer first connecting attempt returns unable to connect device error, but on second attempt it connects
First connection attempt always falls with error Error: unable to connect device, but second connect successfully. BluetoothManager.connect(this.state.deviceAddr) .then((s)=>{ Alert.alert('connected') this.setState({loading: false, connected: true}) }, (err)=>{ //error here Alert.alert(err+'') this.setState({loading: false}) })
I'm having the same problem
Did anyone find solution to this i am having the same problem
Did anyone find a solution for this issue?