If you are using CocoaPods, update your Podfile:
pod 'StripeTerminal', '1.4.0'
1.4.0 2020-09-03
- Added
accountType
toSCPReceiptDetails
. - Added
SCPDeviceTypeWisePosE
toSCPDeviceType
. - Deprecated the
SCPDiscoveryConfiguration
initializers that require that you specify the device type to discover and replaced them with initializers that only require that you specify the discovery method. More specifically, if you use any of theseSCPDiscoveryConfiguration
initializers, you should replace them with the corresponding versions:initWithDeviceType:simulated:
→initWithDiscoveryMethod:simulated:
initWithDeviceType:discoveryMethod:simulated:
→initWithDiscoveryMethod:simulated:
initWithDeviceType:discoveryMethod:locationId:simulated:
→initWithDiscoveryMethod:locationId:simulated:
- Added a new interface in the example app to grant easy access to receipts