Open DowsingUK opened 3 years ago
Swift code:
cardReader.addDisconnectedListener { (disconnectedError:PPRetailError?) in print("Device Disconnected") }
Console log: [paymentDevice] PayPal Added listener '1234567890' for 'disconnected'. ListenerCount: 5
Project -> Capabilities -> Background Modes -> ON
Enable/Check External accessory communication Uses Bluetooth LE accessories Act as a Bluetooth LE accessory
Bug: It never fires when device is disconnected could you please guide me to do it the right way, thank you.
Swift code:
cardReader.addDisconnectedListener { (disconnectedError:PPRetailError?) in print("Device Disconnected") }
Console log: [paymentDevice] PayPal Added listener '1234567890' for 'disconnected'. ListenerCount: 5
Project -> Capabilities -> Background Modes -> ON
Enable/Check External accessory communication Uses Bluetooth LE accessories Act as a Bluetooth LE accessory
Bug: It never fires when device is disconnected could you please guide me to do it the right way, thank you.