Skip to content

User Profile

✅ Live on Production — This feature is fully deployed and available to all users on the master branch.

The Profile screen displays the authenticated user’s account information including avatar, display name, username, organization badge, and activity statistics. Users can edit their profile details and manage their account. The profile is accessed via the avatar icon on the TopAppBar (not a tab).

  • Avatar & Identity — Profile picture with teal fallback, display name, username, organization badge, approved badge
  • Stats Row — Posts count, Comments count, Wallet status indicator
  • Editable Details — Name, bio, phone, website, email, organization (with save/cancel)
  • Wallet Public Key — Display of the user’s Solana wallet public key
  • Sign Out — Logout with confirmation dialog
  • Hidden from Tab Bar — Accessed via avatar tap on the TopAppBar
  1. Tap avatar icon on TopAppBar → navigate to Profile
  2. View personal info, stats, and wallet key
  3. Tap “Edit” → modify fields (name, bio, phone, website, email)
  4. Tap “Save” → profile updates via the EarthTeam servers
  5. Tap “Sign Out” → confirmation dialog → logout

When you open your profile, the app securely fetches your account data from the EarthTeam servers and displays it on screen. Your avatar, display name, stats, and wallet key are all loaded in one request. When you edit any field and tap Save, the changes are sent back to the server and immediately reflected in your profile — no manual refresh needed. Signing out clears your local session and returns you to the login screen, with a confirmation step to prevent accidental logouts.