Add feature flag for binary service id use

This commit is contained in:
Fedor Indutny
2026-02-18 09:09:59 -08:00
committed by GitHub
parent 360faed3cc
commit c9786c4d31
2 changed files with 7 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
import { isTestOrMockEnvironment } from '../environment.std.js';
import { isStagingServer } from './isStagingServer.dom.js';
import { isFeaturedEnabledNoRedux } from './isFeatureEnabled.dom.js';
export function isProtoBinaryEncodingEnabled(): boolean {
if (isTestOrMockEnvironment()) {
@@ -13,6 +14,8 @@ export function isProtoBinaryEncodingEnabled(): boolean {
return true;
}
// TODO: DESKTOP-8938
return false;
return isFeaturedEnabledNoRedux({
betaKey: 'desktop.binaryServiceId.beta',
prodKey: 'desktop.binaryServiceId.prod',
});
}