Interface AirshipConfig

Airship config

Hierarchy

  • AirshipConfig

Properties

android?: {
    appStoreUri?: string;
    fcmFirebaseAppName?: string;
    notificationConfig?: NotificationConfig;
}

Android config.

Type declaration

  • Optional appStoreUri?: string

    App store URI

  • Optional fcmFirebaseAppName?: string

    Fcm app name if using multiple FCM projects.

  • Optional notificationConfig?: NotificationConfig

    Notification config.

autoPauseInAppAutomationOnLaunch?: boolean

Pauses In-App Automation on launch.

Default environment.

development?: ConfigEnvironment

Development environment. Overrides default environment if inProduction is false.

enabledFeatures?: Feature[]

Enabled features. Defaults to all.

inProduction?: boolean

Switches the environment from development or production. If the value is not set, Airship will determine the value at runtime.

initialConfigUrl?: string

Initial config URL for custom Airship domains. The URL should also be added to the urlAllowList.

ios?: {
    itunesId?: string;
    messageCenterStyleConfig?: string;
    useUserPreferredLocale?: boolean;
}

iOS config.

Type declaration

  • Optional itunesId?: string

    itunesId for rate app and app store deep links.

  • Optional messageCenterStyleConfig?: string

    The message center style plist path.

  • Optional useUserPreferredLocale?: boolean

    If set to true, the SDK will use the preferred locale. Otherwise it will use the current locale. Defaults to false.

isChannelCaptureEnabled?: boolean

Enables channel capture feature. This config is enabled by default.

isChannelCreationDelayEnabled?: boolean

Enables delayed channel creation. Deprecated. Use the Private Manager to disable all features instead.

production?: ConfigEnvironment

Production environment. Overrides default environment if inProduction is true.

site?: Site

Cloud site.

suppressAllowListError?: boolean

Whether to suppress console error messages about missing allow list entries during takeOff. This config is disabled by default.

urlAllowList?: string[]

URL allow list.

urlAllowListScopeJavaScriptInterface?: string[]

URL allow list for JS bridge injection.

urlAllowListScopeOpenUrl?: string[]

URL allow list for open URL scope.

Generated using TypeDoc