Offline Mode
Use Offline Mode to display cached appointment and support information when the device has no internet connection.
Offline Mode Behavior
Offline Mode applies to patients, doctors, and unsubscribed users on iOS and Android
When the device goes offline, the app:
- Displays previously synchronized appointment data.
- Replaces the loader-only state with usable screens.
- Limits access to actions that require live network data.
Offline Banner
Supported screens display an offline banner at the top.
The banner provides:
- A No internet connection message (
offline_message). - A Last update timestamp (
last_update_date). - A Try again control that triggers a connectivity retry.
Supported Screens
Offline Mode supports three core screens.
Appointments List
- Displays the Current appointments tab.
- Disables the History tab.
- Disables navigation to Find a Doctor and Log in.
Appointment Details
Displays only essential appointment fields:
- Doctor name, specialty, image, appointment time.
- Time, location, contact, and patient details.
Removes network-dependent sections:
- Charges
- Documents
- Status history
- Action buttons
Contact Center
Provides direct support access:
- Displays Call now button.
- Opens the device dialer with +972-3-545-7547.
- Displays urgent care warning text for patients only.
Navigation to Find a Doctor and Log in remains disabled.
Workflow
This sequence describes offline behavior from app launch.
- Launch the app without an active internet connection.
- Detect offline state.
- Display the offline banner.
- Load cached appointment data.
- Allow navigation to supported offline screens.
- Retry connectivity when the user selects the offline banner.
Validations
| Scenario | App Behavior |
|---|---|
| No internet connection detected. | Activates Offline Mode and displays cached content. |
| Cached appointment data exists. | Displays appointment list and details. |
| Cached data does not exist. | Displays offline UI without appointment content. |
| User selects disabled navigation items. | Prevents navigation. |
| User selects the offline banner. | Triggers a connectivity retry attempt. |
Actions
| Action | Result |
|---|---|
| Select offline banner. | Triggers retry for network connectivity. |
| Open appointment list. | Displays cached upcoming appointments. |
| Open appointment details. | Displays essential appointment information only. |
| Select Call now. | Opens the device dialer with the support number. |