Interface AirshipConfig

Airship config

Hierarchy

  • AirshipConfig

Properties

android?: {
    appStoreUri?: string;
    fcmFirebaseAppName?: string;
    logPrivacyLevel?: "private" | "public";
    notificationConfig?: NotificationConfig;
}

Android config.

Type declaration

  • Optional appStoreUri?: string

    App store URI

  • Optional fcmFirebaseAppName?: string

    Fcm app name if using multiple FCM projects.

  • Optional logPrivacyLevel?: "private" | "public"

    Log privacy level. By default it logs at private, not logging anything lower than info to the console and redacting logs with string interpolation. public will log all configured log levels to the console without redacting any of the log lines.

  • 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;
}

iOS config.

Type declaration

  • Optional itunesId?: string

    itunesId for rate app and app store deep links.

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