Enable identity pinning violation notifications unconditionally
(Remove the feature flag we added when this feature seemed unstable.)
This commit is contained in:
parent
01e7986347
commit
e362cad312
3 changed files with 2 additions and 69 deletions
|
|
@ -9,7 +9,6 @@ package io.element.android.libraries.featureflag.api
|
|||
|
||||
import io.element.android.appconfig.OnBoardingConfig
|
||||
import io.element.android.libraries.core.meta.BuildMeta
|
||||
import io.element.android.libraries.core.meta.BuildType
|
||||
|
||||
/**
|
||||
* To enable or disable a FeatureFlags, change the `defaultValue` value.
|
||||
|
|
@ -125,18 +124,5 @@ enum class FeatureFlags(
|
|||
" You'll have to stop and re-open the app manually for that setting to take effect.",
|
||||
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,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue