Add Tap to Pay feature and misc fixes
Adds BML contactless token fetching, APDU emulation utility, TapToPayViewModel, and TapToPayView with NFC animation. Also updates QR scanner, transfer flow, dashboard, and home views. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,15 @@ final class HomeViewModel {
|
||||
// Set this to navigate Transfer tab pre-filled with a contact
|
||||
var pendingTransferContact: BankContact? = nil
|
||||
|
||||
// Set this to navigate Transfer tab with QR-scanned data
|
||||
var pendingTransferQRData: PaymvQrResult? = nil
|
||||
|
||||
// Set this to navigate Transfer tab with a BML gateway QR URL
|
||||
var pendingBmlQrUrl: String? = nil
|
||||
|
||||
// The card account number that the QR was scanned from (card machine)
|
||||
var pendingQrFromCard: String? = nil
|
||||
|
||||
private let cacheRefreshInterval: TimeInterval = 5 * 60
|
||||
private var lastDashboardRefresh = Date.distantPast
|
||||
private var lastContactsRefresh = Date.distantPast
|
||||
|
||||
Reference in New Issue
Block a user