AirBuildCodePushConfig constructor
const
AirBuildCodePushConfig({
- String channel = 'production',
- bool checkOnLaunch = true,
- bool checkOnResume = true,
- Duration checkInterval = const Duration(hours: 4),
- bool showDebugBar = false,
- bool disableOnPlayStoreInstalls = false,
- VoidCallback? onRestart,
- CodePushBannerBuilder? bannerBuilder,
- VoidCallback? onUpdateReady,
Creates overlay configuration. All fields have sensible defaults —
const AirBuildCodePushConfig() checks production on launch, on
resume, and every 4 hours.
Implementation
const AirBuildCodePushConfig({
this.channel = 'production',
this.checkOnLaunch = true,
this.checkOnResume = true,
this.checkInterval = const Duration(hours: 4),
this.showDebugBar = false,
this.disableOnPlayStoreInstalls = false,
this.onRestart,
this.bannerBuilder,
this.onUpdateReady,
});