AirshipConfig class
Constructors
-
AirshipConfig({ConfigEnvironment? defaultEnvironment, ConfigEnvironment? developmentEnvironment, ConfigEnvironment? productionEnvironment, Site? site, bool? inProduction, List<
String> ? urlAllowList, List<String> ? urlAllowListScopeOpenUrl, List<String> ? urlAllowListScopeJavaScriptInterface, bool? isChannelCreationDelayEnabled, String? initialConfigUrl, List<Feature> ? enabledFeatures, bool? isChannelCaptureEnabled, bool? suppressAllowListError, bool? autoPauseInAppAutomationOnLaunch, IOSConfig? iosConfig, AndroidConfig? androidConfig})
Properties
- androidConfig → AndroidConfig?
-
Android config.
final
- autoPauseInAppAutomationOnLaunch → bool?
-
Pauses In-App Automation on launch.
final
- defaultEnvironment → ConfigEnvironment?
-
Default environment.
final
- developmentEnvironment → ConfigEnvironment?
-
Development environment.
final
-
enabledFeatures
→ List<
Feature> ? -
Enabled features. Defaults to all.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialConfigUrl → String?
-
Initial config URL for custom Airship domains. The URL
should also be added to the urlAllowList.
final
- inProduction → bool?
-
Switches the environment from development or production.
final
- iosConfig → IOSConfig?
-
iOS config.
final
- isChannelCaptureEnabled → bool?
-
Enables channel capture feature. Enabled by default.
final
- isChannelCreationDelayEnabled → bool?
-
Enables delayed channel creation.
final
- productionEnvironment → ConfigEnvironment?
-
Production environment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- site → Site?
-
Cloud site.
final
- suppressAllowListError → bool?
-
Whether to suppress console error messages
about missing allow list entries during takeOff.
Disabled by default.
final
-
urlAllowList
→ List<
String> ? -
URL allow list.
final
-
urlAllowListScopeJavaScriptInterface
→ List<
String> ? -
URL allow list for JS bridge injection.
final
-
urlAllowListScopeOpenUrl
→ List<
String> ? -
URL allow list for open URL scope.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited