I’m trying to use a Local Storage to move a value from one screen to another and then keep it, but it always returns 0, even though it should be unique each time. Any help is appreciated.
If you give a link to your project, then I can help you faster. I did not notice any problems with the local storage.
In such cases, you need to do a step-by-step debugging:
- Wrote the data in the storage
- Checked the recorded value in the same screen in Label.Text. If everything is in order, then go to another screen and read the value from the storage.
Do you go to another screen in the storage.save block?