Hi,
I'm wondering if there is any better documentation relating to card session handling. The informations are kind of limited: https://developer.apple.com/documentation/corenfc/cardsession/
It's not clear what should be used for keeping session or should it be created again after each transaction ?
When I create a card session I pass the transaction but when at the and I call stopEmulation
on card session than there is a problem with another transaction. What about the NFCPresentmentIntentAssertion?
I know there's not information about "maximum suppression duration". I may only check isValid
or acquire()
on it. There's no information about how to properly manage it for another transaction.
To sum up is that I would like to know should I create the new cardSession
for each transaction (which would be strange cause it looks like singleton for me). If theres any impact when calling stopEnumaltion
to cardSession
or the startEmulation
function may be called? The main issue is the 'double tap' flow where user must authenticate him during transaction.