How Can I Store Data Locally

Hi everyone, this is my first time building with defold.
I just wanted to ask the best way to store data locally that can work on all platforms (Android , IOS, PC ?)
The data needs to be persistent , that is when the user closes the app and reopens it later, the data should still be accessible.

I need this because I want to store some data locally so I don’t have to hit the server all the time.

I was thinking of sqlite, but I couldn’t find a ny good resource for that .

THanks for this awesome engine

1 Like

Hello!

The stuff you need:
sys.save - API reference (sys)
sys.load - API reference (sys)

4 Likes

Thank you !

@Insality Can you tell me local of data on pc? Thanks bro!