Configuration and Utility Methods — iPhone
// Check device support
CyoGateSDK.isSupported() // → Bool
// Session management
transactionManager.initializeSession { result in
switch result {
case .success: print("Ready")
case .failure(let e): print("Error: \(e)")
}
}
transactionManager.invalidateSession()
// SDK version
let version = CyoGateSDK.sdkVersion
// Connectivity
transactionManager.checkConnectivity { isConnected in
if !isConnected { showOfflineAlert() }
}
See the Tap to Pay on iPhone overview for full context and the complete topic list.