Flight Delay
The Flight Delay DPApp provides flight delay compensation and protection services, allowing users to register flights, verify eligibility, and claim compensation directly within your host app.
User flow
The Flight Delay journey is shown from left to right.









Routes & Parameters
Pages are opened by the host app via DPSDK.open(appId: "flightDelay", ...) (iOS) or DPSDK.getDPApp("flightDelay").open(...) (Android), or navigated internally. Only the pages below can be opened via the SDK — other pages (e.g. Sign in, Payment) are internal flow pages reached from within the app.
| PAGE NAME | PATH | Query parameters | Description |
|---|---|---|---|
| Landing | flight-delay/landing | — | Intro page for flight delay protection — explains the service and benefits; tapping Get Started opens the registration flow (Verification entry) |
Parameters
System parameters
These parameters are required and must always be included when opening the Flight Delay DPApp.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
language | string | true | UI language of the app; supported values: ar-SA (Arabic, Saudi Arabia), en-US (English, United States), zh-CN (Chinese, China), fr-CA (French, Canada), zh-HK (Chinese, Hong Kong), th-TH (Thai, Thailand), vi-VN (Vietnamese, Vietnam), es-AR (Spanish, Argentina), tr-TR (Turkish, Türkiye), ja-JP (Japanese, Japan), ko-KR (Korean, South Korea), id-ID (Indonesian, Indonesia), zh-TW (Chinese, Taiwan), it-IT (Italian, Italy), uk-UA (Ukrainian, Ukraine), ru-RU (Russian, Russia), sl-SI (Slovenian, Slovenia), nl-NL (Dutch, Netherlands), el-GR (Greek, Greece), hr-HR (Croatian, Croatia), sr-SP (Serbian, Serbia), bs-BA (Bosnian, Bosnia and Herzegovina), sr-ME (Serbian, Montenegro), ro-RO (Romanian, Romania), pl-PL (Polish, Poland), cs-CZ (Czech, Czechia), kk-KZ (Kazakh, Kazakhstan), az-AZ (Azerbaijani, Azerbaijan), ka-GE (Georgian, Georgia), fr-FR (French, France), de-DE (German, Germany), pt-PT (Portuguese, Portugal), en (English) (default: en-US) | en-US |
tenant_code | string | true | Tenant code used for tenant isolation and validating the tenant configuration on the DP Platform | 0494 |
action_type | string | true | Access mode of the session; supported value: operate | operate |
channel | string | false | Distribution channel identifier of the host app, used for channel-level configuration and analytics, e.g. standard, eBridge (default: standard) | standard |
pro_code | string | true | Product code that determines which product the checkout flow lands on | FD0494000001 |
module | string | true | Business module identifier used for module-level routing and configuration (10 for Flight Delay) | 10 |
Prerequisites
- A registered
clientIdfrom the DP Platform — contact us to get one - The
flightDelayappId configured under your client - DP Hybrid SDK integrated into your host app
iOS
Open the Flight Delay DPApp from any UIViewController:
// From any UIViewController
DPSDK.open(appId: "flightDelay", from: self)
To open a specific page directly (e.g. landing), pass the page path and its query parameters in the params dictionary:
// Open the landing page (default)
DPSDK.open(appId: "flightDelay", from: self)
// Open the landing page directly
DPSDK.open(
appId: "flightDelay",
params: [
"path": "flight-delay/landing",
"tenant_code": "0494",
"action_type": "operate",
"module": "10",
"language": "en-US",
"pro_code": "FD0494000001",
],
from: self
)
Note:
tenant_code,action_type,module,languageandpro_codeare required system parameters (see System parameters).
Android
Open the Flight Delay DPApp from any Activity or Fragment:
// From any Activity or Fragment
DPSDK.getDPApp("flightDelay").open(this)
To open a specific page directly (e.g. landing), pass the page path to open() and set the query parameters via setExtraUrlParams:
// Open the landing page (default)
DPSDK.getDPApp("flightDelay").open(this)
// Open the landing page directly
val dpApp = DPSDK.getDPApp("flightDelay")
dpApp.setDPAppConfig(
DPAppConfig.Builder()
.setExtraUrlParams(
hashMapOf(
"tenant_code" to "0494",
"action_type" to "operate",
"module" to "10",
"language" to "en-US",
"pro_code" to "FD0494000001",
)
)
.build()
).open(this, "flight-delay/landing")
Reference
- Getting Started — SDK installation & initialization
- Connect — SSO setup
- Custom Events System — Handle DPApp events
- Error Codes — Error code reference