> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/Braian551/viax/llms.txt
> Use this file to discover all available pages before exploring further.

# Profile Management

> Manage your Viax user profile, preferences, and account settings

## Overview

Your user profile contains personal information, preferences, and settings for your Viax account. Keep your profile up-to-date to ensure smooth trips and accurate communication.

## Accessing Your Profile

<Steps>
  <Step title="Open app menu">
    Tap the menu icon or profile picture
  </Step>

  <Step title="Select 'Profile'">
    Navigate to profile settings
  </Step>

  <Step title="Edit information">
    Update any field and save changes
  </Step>
</Steps>

## Profile Information

### Personal Details

<CardGroup cols={2}>
  <Card title="Full Name" icon="user">
    Your legal name as shown on ID
  </Card>

  <Card title="Phone Number" icon="phone">
    Used for account verification and contact
  </Card>

  <Card title="Email Address" icon="envelope">
    For receipts and notifications
  </Card>

  <Card title="Profile Photo" icon="camera">
    Optional photo for driver identification
  </Card>
</CardGroup>

### Account Settings

* **Language**: Spanish (default), English
* **Currency**: COP (Colombian Peso)
* **Time Zone**: Auto-detected
* **Notification Preferences**: Email, SMS, Push

## Editing Profile

```dart theme={null}
// Update user profile
final updatedProfile = UserProfile(
  fullName: nameController.text,
  phone: phoneController.text,
  email: emailController.text,
  photoUrl: uploadedPhotoUrl,
);

await userRepository.updateProfile(updatedProfile);
```

## Saved Addresses

Manage frequently used locations:

<Tabs>
  <Tab title="Home">
    * Set your home address
    * Quick booking from home
    * One-tap destination selection
  </Tab>

  <Tab title="Work">
    * Office or workplace address
    * Common commute destination
    * Fast booking option
  </Tab>

  <Tab title="Favorites">
    * Add up to 10 favorite locations
    * Name each location
    * Gym, friend's house, restaurant, etc.
  </Tab>
</Tabs>

<Note>
  Saved addresses make booking faster by auto-filling pickup or destination fields.
</Note>

## Notification Settings

Control how you receive updates:

<Accordion title="Push Notifications">
  * Driver assigned
  * Driver approaching
  * Trip started
  * Arriving at destination
  * Trip completed
  * Promotional offers
</Accordion>

<Accordion title="Email Notifications">
  * Trip receipts
  * Weekly summary
  * Account changes
  * Security alerts
  * News and updates
</Accordion>

<Accordion title="SMS Notifications">
  * Verification codes
  * Trip confirmations
  * Emergency alerts
  * Important updates
</Accordion>

## Privacy Settings

<CardGroup cols={2}>
  <Card title="Location Access" icon="location-dot">
    Required for trip booking and tracking
  </Card>

  <Card title="Contact Sharing" icon="address-book">
    Share contacts for emergency
  </Card>

  <Card title="Trip History" icon="eye">
    Who can see your past trips
  </Card>

  <Card title="Profile Visibility" icon="user-lock">
    Show profile photo to drivers
  </Card>
</CardGroup>

## Security Settings

### Password Management

<Steps>
  <Step title="Current password">
    Enter your current password
  </Step>

  <Step title="New password">
    Choose a strong new password (min 8 characters)
  </Step>

  <Step title="Confirm">
    Re-enter new password
  </Step>

  <Step title="Update">
    Save changes and re-login
  </Step>
</Steps>

### Two-Factor Authentication

Enable 2FA for additional security:

* SMS verification codes
* Email verification
* Authenticator app support (planned)

### Active Sessions

View and manage logged-in devices:

* Current device
* Recent login locations
* Logout from all devices option

## Emergency Contacts

Add trusted contacts for safety:

```dart theme={null}
class EmergencyContact {
  final String name;
  final String phone;
  final String relationship;
  final bool canTrackTrips;
}
```

* Add up to 3 emergency contacts
* Share trip location automatically
* Quick contact during trips
* Emergency SOS feature

## Account Information

View account details:

* Account creation date
* Total trips completed
* Member status (Regular, Premium)
* Loyalty points (if applicable)
* Verification status

## Deleting Your Account

<Warning>
  Account deletion is permanent and cannot be undone. All trip history and data will be removed.
</Warning>

<Steps>
  <Step title="Request deletion">
    Go to Settings > Account > Delete Account
  </Step>

  <Step title="Verify identity">
    Enter password and verification code
  </Step>

  <Step title="Confirm">
    Review warning and confirm deletion
  </Step>

  <Step title="Grace period">
    30-day grace period before permanent deletion
  </Step>
</Steps>

## Next Steps

<CardGroup cols={2}>
  <Card title="Booking a Ride" icon="car" href="/users/booking-a-ride">
    Request your first trip
  </Card>

  <Card title="Ride History" icon="clock-rotate-left" href="/users/ride-history">
    View past trips
  </Card>
</CardGroup>
