Skip to content

Commit

Permalink
Merge pull request #20017 from wordpress-mobile/issue/20015-site-moni…
Browse files Browse the repository at this point in the history
…tor-add-remote-feature-flag

Adds: Site monitoring feature flag
  • Loading branch information
AjeshRPai authored Jan 25, 2024
2 parents c3f4075 + 0d2efec commit eefbd25
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import se.bjurr.violations.comments.github.plugin.gradle.ViolationCommentsToGitHubTask
import se.bjurr.violations.lib.model.SEVERITY
import io.sentry.android.gradle.extensions.InstrumentationFeature

plugins {
id "com.android.application"
Expand Down Expand Up @@ -164,6 +163,7 @@ android {
buildConfigField "boolean", "ENABLE_OPEN_WEB_LINKS_WITH_JP_FLOW", "true"
buildConfigField "boolean", "BLAZE_MANAGE_CAMPAIGNS", "false"
buildConfigField "boolean", "DASHBOARD_PERSONALIZATION", "false"
buildConfigField "boolean", "ENABLE_SITE_MONITORING", "false"

manifestPlaceholders = [magicLinkScheme:"wordpress"]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.wordpress.android.util.config

import org.wordpress.android.BuildConfig
import org.wordpress.android.annotation.Feature

private const val SITE_MONITORING_FEATURE_REMOTE_FIELD = "site_monitoring"

@Feature(SITE_MONITORING_FEATURE_REMOTE_FIELD, false)
class SiteMonitoringFeatureConfig(
appConfig: AppConfig
) : FeatureConfig(
appConfig,
BuildConfig.ENABLE_SITE_MONITORING,
SITE_MONITORING_FEATURE_REMOTE_FIELD
)

0 comments on commit eefbd25

Please sign in to comment.