Airship config environment

interface ConfigEnvironment {
    android?: { logPrivacyLevel?: "private" | "public" };
    appKey: string;
    appSecret: string;
    ios?: { logPrivacyLevel?: "private" | "public" };
    logLevel?: LogLevel;
}

Properties

android?: { logPrivacyLevel?: "private" | "public" }

Optional Android config

Type declaration

  • OptionallogPrivacyLevel?: "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.

appKey: string

App key.

appSecret: string

App secret.

ios?: { logPrivacyLevel?: "private" | "public" }

Optional iOS config

Type declaration

  • OptionallogPrivacyLevel?: "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.

logLevel?: LogLevel

Optional log level.