Skip to Content
HomeLink Hub
Agent & Landlord Experience

Profile and settings

The Profile tab for agents, landlords and lawyers, covering personal information, appearance, notification preferences, security and sign out.

The Profile tab is the last icon in the tab bar and is the same screen for every professional role. It is a menu: most rows open a sub-screen in the profile stack, a few jump to other parts of the app, and some are placeholders with no action.

Where it lives

Screen routeFileWho sees it
/(tabs)/profileapp/(tabs)/profile/index.tsxAgents, landlords and lawyers
/(tabs)/profile/editapp/(tabs)/profile/edit.tsxSame roles, from the pencil on the profile card
/(tabs)/profile/appearanceapp/(tabs)/profile/appearance.tsxSame roles
/(tabs)/profile/notificationsapp/(tabs)/profile/notifications.tsxSame roles
/(tabs)/profile/securityapp/(tabs)/profile/security.tsxSame roles
/(tabs)/profile/kycapp/(tabs)/profile/kyc.tsxOnly while the account is not KYC verified. Covered in Agent onboarding and KYC

The stack is declared in app/(tabs)/profile/_layout.tsx with headers hidden; each screen draws its own back chevron and title. Data comes from services/settings/settings-api.ts (everything under /api/v1/user).

Before you start

  • The user is signed in with a professional role. Agents must have completed agent setup or the tabs layout redirects them away.
  • No device permission is needed by any screen on this page. The avatar edit button does not open the photo library (see States and edge cases).
  • The profile is loaded with GET /api/v1/user/profile and cached under the RTK Query tag Profile. Every sub-screen reads the same cache entry.

Flow

Profile menu

  1. The header reads Profile. Below it the profile card shows the avatar (a spinner while loading, a placeholder image if the account has none), the full name, and a pill reading Verified or Unverified from isKYCVerified.
  2. The line under the name reads Verified Member or Member (from isEmailVerified), followed by Joined and the month and year the account was created.
  3. The pencil on the card opens Personal Information (/profile/edit).
  4. The menu sections, in order:
SectionRowSubtitleAction
Account ManagementSecurity & PrivacyPassword, 2FA, and permissionOpens /profile/security
Account ManagementIdentity VerificationComplete your KYC (NIN)Opens /profile/kyc. Row is hidden once isKYCVerified is true
BusinessEarningsWhat you have earned and what is in escrowOpens /earnings
BusinessPerformanceViews, inquiries and closingsOpens /analytics
PreferenceAppearanceprofile.theme, default SYSTEMOpens /profile/appearance
PreferenceLanguageprofile.language, default ENGLISHNone
PreferenceNotification(none)Opens /profile/notifications
Property ActivitySaved SearchesLekki, Magodo and 4 othersNone
OthersHelp CenterGuides and frequently asked questionsOpens /support/help
OthersReplay App TourA quick walkthrough of the main featuresNavigates to the role's home and restarts the tour after a short delay
OthersContact SupportGet help from our teamOpens /support/contact
OthersRate the AppTell us how we're doingOpens the store listing
  1. Log out sits at the bottom (see Sign out).

Role differences

The screen does not branch on role. Lawyers see the same menu as agents and landlords, including the Earnings and Performance rows under Business, which lead to agent-oriented screens. The only conditional row is Identity Verification, which depends on KYC status, not role. The tour that Replay App Tour restarts is the lawyer tour for lawyers and the agent tour for everyone else.

Rate the App opens the Play Store page on Android (the market:// link first, the web listing if that fails) and the App Store write-review page on iOS when an App Store URL is configured. If neither opens, it falls back to the native in-app review prompt, and finally to the alert Rating unavailable / We couldn't open the app store on this device. Please try again later.

Edit personal information

  1. The screen title is Personal Information. Fields are prefilled from the cached profile.
FieldInputClient-side rule
Full NameFree text, placeholder Full NameRequired. Split on the first space: first word becomes firstName, the rest becomes lastName
Email AddressEmail keyboard, no auto-capitaliseRequired after trimming. No format check in the app
Phone NumberPhone keypad, placeholder 816 000 4000Optional. Sent trimmed, or omitted when empty
  1. Tapping Save changes with an empty first name or email shows the alert Missing fields / Full name and email are required. and sends nothing.
  2. Otherwise the app fires PUT /api/v1/user/personal-info with firstName, lastName, email and phone. The button reads Saving... and is disabled while the request runs.
  3. On success the cached profile is patched immediately with the submitted values, the Profile tag is invalidated, the alert Saved / Profile updated successfully. appears, and the screen goes back.
  4. On any failure the alert is Error / Failed to update profile. The server's own message is not shown.
  5. The footnote reads: Your information is securely encrypted and never shared with third parties without your explicit consent.

Server validation the form does not explain

The backend validates firstName and lastName as 2 to 50 characters, email as a valid address, and phone as digits, spaces, +, - and brackets only. A single-word full name sends an empty lastName, which the server rejects, and the user only sees the generic failure alert. The +234 prefix with a caret next to the phone field is a static label: it is not a country picker and is not prepended to the value that is saved.

Appearance

  1. The screen lists three options with a radio mark: System, Light and Dark.
  2. Tapping one applies it immediately across the app. There is no save button.
  3. The choice is written to AsyncStorage key local:THEME_PREFERENCE as system, light or dark. It is a device preference: it survives sign out and applies to whoever signs in next on that phone.
  4. On launch the app holds rendering until the stored choice has been read, so a user on Dark does not see a light first frame.

Not synced to the account

No API call is made from this screen. The Appearance row subtitle on the profile menu shows profile.theme from the server, so it can read SYSTEM while the device is set to Dark.

Notification preferences

  1. The screen title is Notification, with the intro Choose how and when you'd like to receive updates about your properties, bookings, and account activity.
  2. Three switches are shown:
SwitchMeaningInitial value
Push NotificationThe in-app channel: the notifications list and phone push togethernotificationPreferences.newMessages.inApp
Email NotificationEmail for every eventnotificationPreferences.newMessages.email
SMS NotificationDisabled, shown off with a Coming soon badgeAlways off
  1. Save changes builds a payload that sets inApp and email to the two switch values for every event key in the stored preferences (newMessages, propertyInquiries, inspectionBookings, paymentConfirmations, systemUpdates, newPropertyMatches, escrowUpdates, agentMessages, priceDropAlerts, promotionalEmails). The sms value is left untouched.
  2. The app fires PUT /api/v1/user/notification-preferences. The button reads Saving... while it runs.
  3. On success the cached profile is patched with the saved preferences and a notificationPreferencesConfirmedAt timestamp, the alert Saved / Notification preferences updated. appears, and the screen goes back.
  4. On failure the alert is Error / Failed to update notifications. If the profile has not loaded, the alert is Error / Notification preferences unavailable.

There is no per-event control in the app. Any finer-grained choice made elsewhere is overwritten the next time this screen is saved, because both switches are applied to all events.

Security and privacy

The screen title is Security & Privacy. On open it calls GET /api/v1/user/active-sessions alongside the cached profile.

Change password

  1. Tapping Change password opens a bottom sheet with three masked fields: Current password (placeholder Enter current password), New password (At least 8 characters) and Confirm new password (Re-enter new password).
  2. Update password validates in this order:
    • Current or new password empty: Missing details / Enter your current and new password.
    • New password shorter than 8 characters: Password too short / Your new password must be at least 8 characters.
    • New and confirm differ: Passwords do not match / Make sure both new password fields match.
  3. The app fires POST /api/v1/user/change-password with currentPassword and newPassword. The button shows a spinner while it runs.
  4. On success the sheet closes, the fields are cleared, and the alert Updated / Your password has been changed. appears. The user stays signed in.
  5. On failure the alert title is Error and the body is the server's message, falling back to Unable to change password.
  6. Closing the sheet with the X or the Android back button clears all three fields.

Two Factor Auth

  1. The row shows Enabled or Not Enabled from profile.twoFactorEnabled.
  2. Tapping the row toggles the setting straight away with no confirmation: POST /api/v1/user/enable-2fa or POST /api/v1/user/disable-2fa.
  3. Success shows Updated / Two-factor authentication enabled. or Two-factor authentication disabled. and refetches the profile. Failure shows Error / Unable to update 2FA setting.

2FA is a flag only on this screen

There is no code entry, authenticator setup or verification step here. The backend handler just sets twoFactorEnabled on the user.

Biometric login and Facial unlock are greyed out with Coming soon and cannot be tapped.

Active Sessions

  1. Each session shows its device, location and Last active: with a local date and time. The icon is a phone when the device name contains iphone or android, a tablet for ipad or tablet, otherwise a laptop.
  2. The first session in the list carries a THIS DEVICE badge. Every other session shows a LOG OUT button.
  3. Log out other devices in the section header fires POST /api/v1/user/logout-all-devices. The link reads Logging out... while it runs, then shows Success / Logged out from other devices. or Error / Failed to log out other devices.

Sign out

  1. The user taps Log out at the bottom of the profile menu. There is no confirmation dialog.
  2. The logout thunk first unregisters this device's push token (see Chats and notifications), then fires POST /api/v1/auth/signout with an empty body.
  3. Whatever the server answers, the device credentials are removed: AsyncStorage keys session:ACCESS_TOKEN, local:REFRESH_TOKEN and local:USER.
  4. The Redux store is reset on both logout.fulfilled and logout.rejected, which wipes the auth and chat slices and every RTK Query cache.
  5. On success the app replaces the route with /(auth)/signin.
  6. If the request fails, the alert Error / Unable to log out right now. is shown and no navigation happens, even though the local session has already been cleared.

States and edge cases

  • Loading. The profile card and the edit screen show a spinner in place of the avatar while the profile loads; the name reads Profile until data arrives. The notification preferences screen shows a spinner above the switches. Active sessions show a spinner in place of the list. There are no skeletons.
  • Rows with no action. Language and Saved Searches have no handler. The Saved Searches subtitle Lekki, Magodo and 4 others is hardcoded.
  • Avatar cannot be changed. The pencil over the avatar on the edit screen has no handler, so there is no photo picker, upload or permission prompt.
  • Security Strength card is static. The 70% ring, the heading Enhanced Protection and the text about reaching 100% are hardcoded and do not reflect the account.
  • Per-session LOG OUT is not wired up. The button on each non-current session has no handler. Only Log out other devices does anything.
  • THIS DEVICE is positional. The badge is given to the first session returned, not matched against this device.
  • Log out other devices is broader than its label. The backend handler clears every stored session and removes the refresh token for the account. This device keeps working on its current access token, but may be sent to sign in once that token expires.
  • Missing security features. There is no delete-account entry and no privacy-settings screen in this navigator. DELETE /api/v1/user/account and PUT /api/v1/user/privacy-settings are defined in settings-api.ts but not used here.
  • Email changes are not re-verified in the app. Editing the email only sends the new value; no verification screen follows.
  • Session expiry. A 401 whose message mentions the token triggers one shared refresh via POST /api/v1/auth/refresh-token. If that fails the store is cleared and the app replaces the route with /(auth)/signin.

What happens next

  • Saving personal information or notification preferences updates the cached profile at once, so the profile card, the tabs layout and agent setup all see the new values without waiting for a refetch.
  • Saving notification preferences stamps notificationPreferencesConfirmedAt, which is what marks the Notifications step of agent setup as done.
  • A successful KYC check hides the Identity Verification row and flips the pill on the profile card to Verified.
  • Signing out detaches the device from the account for push, so the next person to sign in on the phone does not receive the previous user's notifications.

On this page