package org.mozilla.fenix /** * A single source for setting feature flags that are mostly based on build type. */ object FeatureFlags { /** * Pull-to-refresh allows you to pull the web content down far enough to have the page to * reload. */ const val pullToRefreshEnabled = false /** * Allows Progressive Web Apps to be installed to the device home screen. */ val progressiveWebApps = Config.channel.isNightlyOrDebug /** * Disables FxA Application Services Web Channels feature */ const val asFeatureWebChannelsDisabled = false /** * Disables FxA Application Services Sync feature */ const val asFeatureSyncDisabled = false /** * Disables FxA Application Services Pairing feature */ const val asFeatureFxAPairingDisabled = false /** * Enables dynamic bottom toolbar */ val dynamicBottomToolbar = Config.channel.isNightlyOrDebug /** * Enables the new language picker */ val fenixLanguagePicker = Config.channel.isNightlyOrDebug /** * Integration of push support provided by `feature-push` component into the Gecko engine. * * Behind nightly flag until all fatal bugs are resolved. * * https://github.com/mozilla-mobile/fenix/issues/9059 */ val webPushIntegration = Config.channel.isNightlyOrDebug }