Check contactless capability
Overview
SDK Integration
let contactlessEligibility = await TSHPay.shared.deviceEligibility.contactlessPaymentEligibility
switch contactlessEligibility {
case .deviceNotSupported(let reason):
// Device is not eligible due to missing NFC or HCE support.
break
case .systemNotEligible:
// System is not eligible because the device or Apple ID is not in the EEA.
break
case .iosVersionNotSupported(let currentVersion):
// The OS version does not meet the minimum required version (iOS 17.4).
break
case .supported:
// Device is eligible to make contactless payments.
break
}Last updated
Was this helpful?