Overview
Vitu uses local authentication with Hive storage to manage user accounts. All user data is stored locally on your device, ensuring privacy and offline access.Creating an Account
To get started with Vitu, you’ll need to create an account with your personal information.Open the registration screen
When you first launch Vitu, you’ll see the login screen. Tap the Registrarse (Register) tab at the top.
Enter your personal information
Fill in all required fields:
- Nombre (First Name)
- Apellido (Last Name)
- Género (Gender): Select from Masculino, Femenino, or Otro
- Edad (Age): Enter your age in years
- Altura (Height): Enter your height in centimeters (cm)
- Peso (Weight): Enter your weight in kilograms (kg)
Set up your credentials
Create your login credentials:
- Correo (Email): Enter a valid email address
- Contraseña (Password): Must be at least 6 characters
- Confirmar contraseña (Confirm Password): Re-enter your password
Your height, weight, age, and gender are used to personalize your wellness recommendations and calculate your daily hydration goals.
User Profile Data
Vitu collects and stores the following user profile information locally:| Field | Type | Description |
|---|---|---|
nombre | String | First name |
apellido | String | Last name |
genero | String | Gender (Masculino, Femenino, Otro) |
edad | Integer | Age in years |
altura | Double | Height in centimeters |
peso | Double | Weight in kilograms |
correo | String | Email address (used as user ID) |
contrasena | String | Password (stored locally) |
Optional Settings
Additional profile settings that can be configured:brightness: Theme preference (‘light’ or ‘dark’)seedColor: Custom color scheme (ARGB integer)fontFamily: Font preference (null for system font, or ‘serif’)followLocation: GPS tracking permission for location-based features
Logging In
If you already have an account, you can log in to access your wellness data.Enter your credentials
- Correo: Enter your registered email address
- Contraseña: Enter your password
Local Storage
All authentication data is stored locally using Hive, a lightweight and fast key-value database:- Storage Box:
users - User Key Format:
user:{email} - Current User Key:
currentUserEmail
- Your data never leaves your device
- No internet connection required after setup
- Full privacy and control over your information
Password Requirements
- Minimum length: 6 characters
- No special character requirements
- Stored locally (not hashed in current implementation)
Logout Process
To log out of your Vitu account:Account Recovery
Currently, Vitu does not support password recovery since all data is stored locally. If you forget your password:- You’ll need to create a new account with a different email
- Your previous account data will remain on the device but will be inaccessible
Multiple Devices
Since authentication is local:- Each device maintains its own separate account data
- There is no account syncing between devices
- You can create the same account on multiple devices, but data won’t sync
Data Persistence
Your account data persists across app sessions:- Closing the app keeps you logged in
- Restarting your device keeps you logged in
- Only manual logout or app data deletion will clear your session