Skip to main content

Main Start Screen


Use Main Start Screen to display the first home state when the user has not selected a location.


Sign in screen with social sign-in options, email and password inputs, and account access links

This screen includes:

#ElementDescription
1Header logoDisplays the Air Doctor logo.
2Location selectorDisplays Enter your location and opens location entry.
3Map backgroundShows a location-based visual background.
4Location illustrationDisplays the globe and location pin graphic.
5Screen titleDisplays Find doctors near you.
6Instruction textExplains that location is used to find trusted doctors nearby.
7Use current location actionRequests device location access.
8Enter location actionOpens manual location entry.
9Bottom navigationProvides access to Home, Appointments, Profile, and Messages.
10Active navigation itemHighlights Home as the current tab.

Workflow

  1. Open the app start screen.
  2. Check whether a location is already selected.
  3. Display the location prompt when no location is available.
  4. Select Use current location to request device location access.
  5. Select Enter location to open manual location entry.
  6. Save the selected or detected location.
  7. Load available doctors for the selected location.

Validations

ScenarioApp behaviorSDK output
Session invalidDisplay start screen without user-specific datastate = guest
Location missingDisplay location promptlocation = required
Location permission grantedUse device locationlocationSource = current_location
Location permission deniedKeep manual location entry availablelocationPermission = denied
Manual location selectedSave selected locationlocationSource = manual
Location lookup failsDisplay fallback statestate = error
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp behaviorSDK output
Start screen opensLoad start screenPUT /api/v3/start
Location selector selectedOpen manual location entryaction = enter_location
Use current location selectedRequest device location permissionaction = use_current_location
Location selectedSave location and refresh available doctorslocation = selected
Home selectedKeep user on start screennavigation = home
Appointments selectedOpen appointments areanavigation = appointments
Profile selectedOpen profile areanavigation = profile
Messages selectedOpen messages areanavigation = messages

Endpoint Resources

Main Start Screen

PUT 

v3/start

Returns the start screen or routes the user to the correct home page.