2024-12-09 05:56 AM
We've slightly modified your app ST25NFC to query our ST25DV device. It sends some measured values via NFC using MailBox (FTM). From the app, we send the same query repeatedly (cca 2 sec), and the device's response varies slightly (the value, not the message format).
While it works fine on older phones, Android 13 devices throw an error after about a minute: java.lang.SecurityException: Permission Denial: Tag ( ID: B9 3B 13 05 00 51 02 E0 ) is out of date.
How can we prevent this error programmatically? (Is there a command to extend NFC access permissions, or how can we achieve this?)
Solved! Go to Solution.
2024-12-12 01:34 AM
Hello
We have seen this "New feature" or behaviour raised by the stack and this is intended by design at stack level. After a while, Tag will go to "out of date" and a SecurityException is raised.
We have updated our AndroidReaderInterface AAR file implementation to handle this.
We are currently publishing updates on Google play store (APK already available) and on st.com
You can retrieve the AndroidReaderInterface AAR file implementation on st.com : STSW-ST25001 - Application executable of the NFC Tap Android app for ST25 product family - STMicroelectronics
package : STSW-ST25001SC as soon as the version 3.11.0 will be published and the library will be : st25_android_reader_interface-1.0.12-release.aar
For information, there is no command to extend slot before "Tag out of date".
Hope this will help
BR, FB
2024-12-12 01:34 AM
Hello
We have seen this "New feature" or behaviour raised by the stack and this is intended by design at stack level. After a while, Tag will go to "out of date" and a SecurityException is raised.
We have updated our AndroidReaderInterface AAR file implementation to handle this.
We are currently publishing updates on Google play store (APK already available) and on st.com
You can retrieve the AndroidReaderInterface AAR file implementation on st.com : STSW-ST25001 - Application executable of the NFC Tap Android app for ST25 product family - STMicroelectronics
package : STSW-ST25001SC as soon as the version 3.11.0 will be published and the library will be : st25_android_reader_interface-1.0.12-release.aar
For information, there is no command to extend slot before "Tag out of date".
Hope this will help
BR, FB