Closed mengheangrat closed 3 years ago
Could you please let me know more deatils as below...
It's an error on discovery method.
Noted with Thank so much for your integrate with Star Printer . If you have any question please contact us any time.
@mengheangrat How did you resolve? I am getting the same error when using example app.
@smsagithub Can you please help me how we can resolved this? We are getting same error with the example app.
import { InterfaceType, StarDeviceDiscoveryManager, StarDeviceDiscoveryManagerFactory, } from 'react-native-star-io10'
// const manager = StarDeviceDiscoveryManager export const discover = async () => { try { // Specify your printer interface types. manager = await StarDeviceDiscoveryManagerFactory.create([ InterfaceType.Bluetooth, InterfaceType.BluetoothLE, ])
} catch (error) { // Error. console.tron.log('discover on error ', error) } }