Are you talking about saving the data after you close the app, or just temporarily? If you want to save it after the app is closed, use saveLocalData. If you save it just while you go to a different state, set it as a global variable, then read it again.
Welcome to the forums!
Use saveLocalData with a lowercase “s”. When you want to read it, use readLocalData(key). BTW, if you want to notify me when you’re talking to me, use @Zoyt, in case you didn’t know.
Thanks!