paypal / paypal-here-sdk-ios-distribution

Add credit card (tap, insert, swipe & key-in) capabilities to your iOS app
Other
81 stars 91 forks source link

Way to detect connection lost with device #331

Closed maulikpat closed 4 years ago

maulikpat commented 4 years ago

Hi,

Is there any way to detect if the connected reader has lost the connection with the iOS device? I want to monitor a device connections via Bluetooth.

ppmtscory commented 4 years ago

You can use the disconnected listener that's part of of the PPRetailPaymentDevice that you can use to know if the reader becomes disconnected from bluetooth.