Contact Us
Use the Contact Us screen to contact Air Doctor support during app usage.
The Doctor App opens this screen from the in-app chat or navigation entry points.
The screen exposes supported communication channels and returns control to the previous context after selection.
This screen includes:
- A header labeled Contact Center or Doctor Community, depending on entry point.
- A More ways to contact us link that opens a modal with additional contact options.
- A modal that lists the following supported channels:
- SMS, which opens the device messaging application.
- WhatsApp, which opens a secure WhatsApp chat with Air Doctor support.
- Email, which opens the default mail client.
- Phone, which opens the device dialer with the support number.
- A message input field that integrates with the existing in-app chat interface.
- Navigation controls to close the modal and return to the prior screen.
Workflows
Open Contact Options
- From the navigation bar or chat panel, select Chat with Doctor Community.
- Select More ways to contact us.
- The app displays a modal with available contact channels.
Contact Support
- In the contact options modal, select one of the following:
- SMS to open the device messaging app.
- WhatsApp to open a secure chat with Air Doctor support.
- Email to compose a message in the default mail client.
- Phone to call the Air Doctor support line.
- The app launches the selected external application.
- After the interaction, return to the app using the system navigation.
Close Contact Options
- Select the close icon (X) in the modal.
- The app closes the modal and returns to the previous screen.
Validations
These scenarios describe how the app validates the Contact Us screen and what the integrator can expect.
| Scenario | App Behavior | SDK Output | Example |
|---|---|---|---|
| A contact channel is not configured for the region. | The app hides the unavailable option from the modal. | Channel omitted from response payload. | — |
| The user selects Phone on a device without calling support. | The app blocks the action and displays system feedback. | No external action triggered. | — |
| The user opens the modal from an unsupported context. | The app prevents modal display. | No UI update. | — |
Actions
These scenarios describe how the app responds to actions on the Contact Us screen.
| Scenario | App Behavior | SDK Output | Example |
|---|---|---|---|
| The user selects More ways to contact us. | The app displays the contact options modal. | Update set that adds the modal to the view. | — |
| The user selects a valid contact channel. | The app launches the external communication app. | Navigation or external intent event. | — |
| The user closes the modal. | The app returns to the previous screen. | Update set that removes the modal. | — |
Endpoint Resources
Contact Us
PUT
/profile/messages/contact-us
Produces the Contact Us modal and exposes available support communication channels.
