Follow-up to the resolved bug report from: https://bugreports.qt.nokia.com/browse/QTMOBILITY-1836
Another issue has appeared, which needs to be documented / fixed:
Steps to reproduce:
1. Create an autostart tag with type name: "urn:nfc:ext:nokia.com:nfccorkboard" (more instructions here: https://bugreports.qt.nokia.com/browse/QTMOBILITY-1836)
2. Install an app (on C that registers for ndef autostart on Symbian. You can use v1.3+ of Nfc Corkboard: https://projects.developer.nokia.com/nfccorkboards
3. Touch the autostart tag
The app is launched.
The record type on the tag is not recognized, the phone still shows the message: "Unable to read tag. Format not supported."
Only after restarting the phone (and possibly starting the app manually at least once), autostart will work.
This is a bit tricky to reproduce, as it is related to this issue (autostart registration never gets deleted):
Therefore, two ways to reproduce are possible:
- Use a phone that never had the autostarting app (Nfc Corkboard) installed before.
- Register a record type name to trigger the autostart that has never been used before on this phone.
My guess is that the QtM autostart handler only scans the available apps when the phone is started.
The proposed fix would therefore be that QtM scans all available autostart apps every time a tag is touched.
If this is not feasible (e.g., for performance reasons): document the limitation that the phone needs to be restarted after installing an autostart app.