mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Add feature flag IdentityPinningViolationNotifications.
Disabled in production build, enabled by default on other builds.
This commit is contained in:
+13
@@ -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,
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user