I tried to create a SuuntoPlus app for having some notes on my watch which I can review during the activity. I got this working in the simulator and on my watch.
[image: 1773354028857-7d8d04b3-6192-4011-a280-3e624862799c-image.png]
The notes are stored in an array and can be selected in the SuuntoPlus app with the up and down button.
For test purposes, I stored the notes in the data.json file:
{
"notes": [
"Some important things that you don't want to forget.",
"Things to do when you arrive at a certain location.",
"Any other note that is important to you."
]
}
I declared the notes array in the manifest
"settings": [
{"shownName": "Notes", "path": "notes", "type": "enum"}
]
If this app is published in the store, how are people entering their own notes? Is this handled correctly by using the type “enum”? Or do I need to declare a fixed set of notes as string and add them to the array in code?
Like this:
"settings": [
{"shownName": "Note1", "path": "notes.note1", "type": "string"},
{"shownName": "Note2", "path": "notes.note2", "type": "string"},
{"shownName": "Note3", "path": "notes.note3", "type": "string"},
{"shownName": "Note4", "path": "notes.note4", "type": "string"},
...
]