2024-10-23 12:23 AM
Hi
I`m going to develop a app to display image on ePaper by coreNFC ISO15693, but i have only 20sec to transmit data and display image when phone connect on epaper .
I can use session.repolling() to extend life scycle of NFC session lower iphone13 or below, but else version (iphone15, iphone16) is not working .
As far as I know, i have 60sec to trans data when i to begin a new NFCTagReaderSession, but actullary i have only 20sec.
If I need more time to transmit, what solution i can do?
Thanks.
2024-10-23 01:07 AM
hi Demna0513,
Currently there are two NFC timeouts we are not able to influence because there is no API.
Combined there is also something like a worst case:
Normally, whatever is iphone model, behavior should be same on every iphone.
Please, Could you check iOS version used ?
I tried with iphone15 pro + iOS 17.4, and behavior is as described above.
hope it helps.
br,
2024-10-23 02:00 AM
Hi
there is following is my test result, use session.restartpolling() to extend the NFC session life scycle.
iphone Xs (IOS 17) : OK
iphone Xs (IOS 18.0.1) : OK
iphone 12 pro (IOS 17.4.1) : OK
iphone 13 (IOS 17) : OK
iphone 15 (IOS 17) : fail
iphone 15 (IOS 18) : fail
iphone 16 (IOS 18) : fail
2024-10-27 08:41 PM
Hi
So I have no any soluction to extend the life cycle, if I need over 20 second to done my task?
2025-02-03 12:15 AM
Hi denma0513,
It would seem that since iPhone15, Apple closed possibility to extend the sessions beyond the allowed amount by "renewing" them.
I encourage you to have a look into the apple forum thread "https://developer.apple.com/forums/thread/765747"
For the time being, I don't have any idea/solution on how extending iOS CoreNFC life cycle over 20s, as it depends on system itself, and we don't have any control on it.
We could use the apple feedback assistant for refining the feature. ref to Bug Reporting - Apple Developer
sorry again for not being able to help you more.