Open TinkuGeorge opened 3 years ago
Thanks for the report.
We often encounter "Tag connection lost", but we don't know the best solution for this problem. As for the cause of "Tag connection lost", we know the following:
If you want to read only residence cards, try changing app/Info.plist
as follows. We have confirmed that removing irrelevant AIDs may make it easier to read the cards.
<key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
<array>
- <string>A00000023101</string>
- <string>A00000023102</string>
- <string>D392F000260100000001</string>
- <string>D3921000310001010401</string>
- <string>D3921000310001010402</string>
- <string>D3921000310001010408</string>
<string>D392F0004F0200000000000000000000</string>
<string>D392F0004F0300000000000000000000</string>
<string>D392F0004F0400000000000000000000</string>
After making the above changes, the AIDs for the driver's license (A00000023101, A00000023102) and the AIDs for individual number card (D392F000260100000001, D3921000310001010401, D3921000310001010402, D3921000310001010408) will be removed, so please note that these two cards will no longer be readable.
For reference, I would appreciate it if you could tell me the model and OS of your iPhone.
Thank you for the detailed update. I will try based on your comments. I am using iPhone 12 Pro(iOS 14) and iPhone 7(iOS 14) for the development and I am working with RC card, Driving licence and Number card.
Thanks for the information.
When connecting and reading data from RC card, most of the time an error is returning saying “Tag connection lost”. It seems due to the connection timeout issue in Tag reader session. https://developer.apple.com/forums/thread/118922 I have tried by running the
libjeid-ios-app
app and also my project integrated with the RC card reading codes. In both the application, timeout error is occurring frequently.