Add feature flag IdentityPinningViolationNotifications.

Disabled in production build, enabled by default on other builds.
This commit is contained in:
Benoit Marty 2024-10-10 16:28:15 +02:00
parent 366db4791b
commit aa07ab1a07
3 changed files with 68 additions and 3 deletions

View file

@ -132,4 +132,17 @@ enum class FeatureFlags(
defaultValue = { false },
isFinished = false,
),
IdentityPinningViolationNotifications(
key = "feature.identityPinningViolationNotifications",
title = "Identity pinning violation notifications",
description = null,
defaultValue = { buildMeta ->
when (buildMeta.buildType) {
// Do not enable this feature in release builds
BuildType.RELEASE -> false
else -> true
}
},
isFinished = false,
),
}