How to save user usage data

I want to build a fitness app, But my problem is how to save user usage, so that it will show user progress, and completed exercises. Please how can I save user usage data. Which will be save but can be cleared if user clear app data.

use tiny db

Please how can I set the block in Tiny db. Please can you show me example, on how to use tiny db, to store and get user progress

use tiny db store
tag and value depends on you what you are going to make in app

@petfely as said by @BharatTech use tiny DB
and

it’s very simple this works like this:
Tag = a specific name to identify the data stored
Value = actual value to be stored
image