This is now changing and there are differences between the desktop application (uses the GUID of the token and writes nothing to the token) and the mobile app which uses written payload data on the token
To write using the app,:
ListTile(
title: Text("${literal['write']}"),
enabled: globals.enable_nfc_write,
onTap: () {
Navigator.pushNamed(context, "/write_example");
},
as shown in this part of main.dart, set globals.enable_nfc_write
to true in globals.dart
and compile a write enabled version of the app. Later, for a club, you may want a supplier to write a batch of tokens.
The current payload is simple
<index in database> <first name> <last name>
so:
1 Joe Bloggs
for example.
Of course, since the source code is open, you may want to change this. We'll probably maintain these three fields though.