Skip to Content
HomeLink Hub
Tenant Experience

Profile and Settings

The tenant Profile tab and every screen behind it - personal information, security, appearance, notification preferences, payment history, purchased properties and sign out.

The Profile tab is the tenant's account hub. It shows who is signed in, links to the settings screens, to the tenant's payments and properties, to help, and holds the "Log out" button.

Where it lives

ScreenRouteFileWho sees it
Profile stacknoneapp/tenant/profile/_layout.tsxTenants
Profile/tenant/profileapp/tenant/profile/index.tsxTenants
Personal Information/tenant/profile/editapp/tenant/profile/edit.tsxTenants
Security & Privacy/tenant/profile/securityapp/tenant/profile/security.tsxTenants
Appearance/tenant/profile/appearanceapp/tenant/profile/appearance.tsxTenants
Notification/tenant/profile/notificationsapp/tenant/profile/notifications.tsxTenants
Payment History/tenant/profile/payment-historyapp/tenant/profile/payment-history.tsxTenants
My Properties/tenant/profile/purchasesapp/tenant/profile/purchases.tsxTenants

Profile data comes from userApi (services/user/user-thunk.ts, base /api/v1/user). Payment history uses paymentApi, purchases use propertyApi, and appearance uses hooks/use-theme-preference.tsx.

Before you start

  • Signed in. The Profile tab is the fifth icon in the tenant tab bar.
  • No KYC is required to use these screens. KYC status is displayed but tenants have no KYC screen in the app.
  • No device permissions are requested here. "In-app" notification toggles depend on the notification permission granted at launch; see App launch and onboarding.

Flow

Profile menu

  1. The screen fires GET /api/v1/user/profile. Until it answers, the header is filled from local:USER in AsyncStorage; if neither is available a "Loading profile..." line shows.
  2. The header card shows the avatar (or a generated placeholder avatar seeded with the name), the display name (or "HomelinkHub Member"), a pill reading "KYC Verified", "Email Verified" or "Verification Pending", and a subtitle such as "Verified Member · Joined Mar 2026" ("Member" when unverified, "Recently joined" when there is no date). The edit icon opens Personal Information.
  3. Menu groups and rows:
GroupRowSubtitleAction
Account ManagementSecurity & PrivacyPassword, 2FA, and permissionOpens /tenant/profile/security
Account ManagementMy PropertiesPlaces you've rented or boughtOpens /tenant/profile/purchases
Account ManagementPayment HistoryInspections and bookings you've paid forOpens /tenant/profile/payment-history
PreferenceAppearancenoneOpens /tenant/profile/appearance
PreferenceLanguageComing soonDisabled
PreferenceNotificationnoneOpens /tenant/profile/notifications
Property ActivitySaved SearchesComing soonDisabled
OthersHelp CenterGuides and frequently asked questionsOpens /support/help
OthersReplay App TourA quick walkthrough of the main featuresRestarts the guided tour
OthersContact SupportGet help from our teamOpens /support/contact
OthersRate the AppTell us how we're doingOpens the store listing
  1. "Rate the App" opens the Play Store page on Android or the App Store review page on iOS when a store URL is configured. Otherwise it falls back to the native in-app review prompt, and if that is unavailable shows "Rating unavailable" / "We couldn't open the app store on this device. Please try again later.".
  2. "Replay App Tour" is described in Home and discovery. Help Center and Contact Support are in Help and support.

Editing personal information

  1. The screen titled "Personal Information" preloads from GET /api/v1/user/profile (cached). Fields:
FieldRule
Full NameRequired. Split on the first space into first and last name.
Email AddressRead-only. Note under it: "Email changes are managed from your verified account workflow."
Phone NumberOptional, after a fixed "+234" prefix. Stored numbers are shown without the country code.
CityOptional. Placeholder "Lagos".
  1. "Save changes" with an empty name shows "Missing information" / "Please enter your full name.".
  2. The phone is normalised before sending: digits starting with 234 get a plus sign; an 11-digit number starting with 0 or a 10-digit number becomes +234 followed by the local digits; anything else is sent as a plus sign and the digits. There is no length check.
  3. The app fires PUT /api/v1/user/profile with firstName, lastName, phone and city. The button reads "Saving...".
  4. On success the app merges the new name, phone and city into local:USER, shows "Profile updated" / "Your personal information has been saved." and goes back. The User cache tag is invalidated so the profile refetches.
  5. On failure: "Update failed" with the server message or "Unable to update your profile right now.".

Name and city are not saved on the server

The backend handler for PUT /api/v1/user/profile only reads phone and avatar from the body. The name and city the tenant typed are written to local:USER on the device but not to the account, so they revert after the next sign-in and never show on other devices or to agents. A different endpoint, PUT /api/v1/user/personal-info, exists and is what the agent profile uses. There is also no way to change the avatar on this screen.

Security & Privacy

  1. "Security Strength" shows a percentage: 40 as a base, plus 20 each for a verified email, verified KYC and enabled two-factor. At 80 or above the caption is "Enhanced Protection", otherwise "Security setup in progress".
  2. "Security Checklist" lists "Identity verified", "Email verified" and "Two-factor authentication", each marked "DONE" or "PENDING". The rows are not tappable.
  3. Change Password. Fields "Current Password", "New Password", "Confirm New Password". "Update Password" validates in order and shows an inline red message for the first failure:
    • "All password fields are required."
    • "New passwords do not match."
    • "New password must be at least 4 characters."
  4. It then fires POST /api/v1/user/change-password with currentPassword and newPassword. Success clears the fields and shows the inline green message "Your password was updated successfully.". Failure shows the server message or "Failed to change password.". The user stays signed in.
  5. Two-Factor Authentication. The card shows "ENABLED" or "DISABLED" and a button "Enable 2FA" or "Disable 2FA".
    • Enable: fires POST /api/v1/user/enable-2fa and shows "Two-factor enabled" with the server message or "Your account now has an extra layer of protection.".
    • Disable: opens the modal "Disable Two-Factor Auth" asking for the password. An empty password shows "Password is required to disable two-factor authentication.". "Disable" fires POST /api/v1/user/disable-2fa with password, then shows "Two-factor disabled" / "Two-factor authentication has been turned off.". Errors show inside the modal.
    • A failed enable shows "2FA update failed" with the server message or "Failed to update two-factor authentication.".

Password and 2FA gaps

The app accepts a 4-character new password but the API requires 8 to 128, so short passwords fail with the server's message. The two 2FA mutations do not invalidate the cached profile, so the "ENABLED" or "DISABLED" label and the security score may not change until the profile is refetched. On the backend, enabling 2FA only sets a flag on the user; the sign-in endpoint does not ask for a second factor, and the mobile sign-in screen has no step for one.

There is no delete-account option, active-sessions list or privacy toggle on the tenant security screen, although userApi defines a deleteAccount mutation.

Appearance

  1. Three radio rows: "System", "Light", "Dark".
  2. Tapping one applies it immediately across the app and stores it in local:THEME_PREFERENCE. No API call is made.
  3. The choice is a device preference: it survives sign-out and applies to whoever signs in next on the same phone.

Notification preferences

  1. The screen titled "Notification" reads notificationPreferences from the cached profile. Missing values fall back to defaults.
EventDescription shownDefault In-appDefault Email
New property matchesGet notified when a new listing matches your saved search.OnOn
Escrow updatesReceive progress updates as payments move through escrow.OnOn
Agent messagesStay on top of messages from agents and landlords.OnOn
Price drop alertsKnow when a saved property drops in price.OffOn
Promotional emailsReceive HomelinkHub product news, tips, and offers.OffOn
  1. Each event has three switches: "In-app", "Email" and "SMS · Soon". The SMS switch is disabled and always off. The intro text explains that In-app covers the notifications screen and push notifications on this phone.
  2. "Save changes" is enabled only when something differs from the loaded state. It fires PUT /api/v1/user/notification-preferences with the full object (all five events, each with inApp, email, sms).
  3. Success shows "Preferences saved" / "Your notification settings have been updated.". Failure shows "Save failed" with the server message or "Unable to update your notification preferences.".

Payment History

  1. Fires GET /api/v1/escrow/my with page 1 and limit 50. Only the first 50 escrow transactions are shown; there is no paging.
  2. Each card shows the property title, location, a status pill ("Pending", "Funded", "Completed", "Disputed", "Cancelled"), "Amount", the type ("Rent" or "Purchase"), the created date and "Ref:" with the transaction reference.
  3. Pull down to refresh. Cards are not tappable.

Escrow only

Despite the menu subtitle and the empty-state text, this list contains escrow transactions only. Inspection fees and direct Paystack payments are not included; the backend's GET /api/v1/transaction/history is not called by the app.

My Properties

  1. Fires GET /api/v1/property/acquired with page 1 and limit 50.
  2. Each card shows the first photo, title, location, a status pill, "Rented for" or "Bought for" with the amount, and "Date". Status labels: "Awaiting payment" (pending), "In escrow" (funded), "Completed", "Disputed", "Cancelled".
  3. Tapping a card opens the listing at /property/[id]. See Property details.
  4. Pull down to refresh.

Log out

  1. "Log out" at the bottom of the Profile screen reads the refresh token from local:REFRESH_TOKEN and dispatches the logout thunk. The button shows a spinner and is disabled meanwhile. There is no confirmation dialog.
  2. The thunk calls DELETE /api/v1/users/push-tokens, then POST /api/v1/auth/signout with refreshToken.
  3. Whether or not the server call succeeds, the stored tokens and user are removed, the Redux store is reset, and the app replaces the route with /(auth)/signin. See Sign up and sign in.

States and edge cases

  • Profile request fails. The Profile screen keeps showing the copy from local:USER; there is no error message. Edit, Security and Notification show their loading line ("Loading your profile...", "Loading your preferences...") only while loading and otherwise render with empty or default values.
  • Payment History. Loading: centred spinner. Error: "Could Not Load Payments" with "Retry". Empty: "No Payments Yet" / "Payments you make for inspections and bookings will appear here." with "Browse Properties", which replaces the route with /tenant.
  • My Properties. Loading: centred spinner. Error: "Could Not Load Your Properties" with "Retry". Empty: "No Properties Yet" / "Properties you rent or buy through Home Link Hub will appear here." with "Browse Properties".
  • Unknown escrow status. Both lists fall back to a grey pill showing the raw status.
  • Offline. Saves fail with their fallback message; lists show their error state.
  • Session expired. A 401 triggers one silent token refresh; if that fails the app returns to sign in.

What happens next

  • Notification preferences are stored on the user record; the backend consults them when deciding which channels to use for an event.
  • A password change takes effect immediately for the next sign-in. The current session is kept.
  • Logging out detaches this device's push token so the next person to use the phone does not receive the previous user's notifications.

On this page