We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c985060 commit eafc917Copy full SHA for eafc917
WordPress/Classes/System/WordPressAppDelegate.swift
@@ -540,6 +540,11 @@ extension WordPressAppDelegate {
540
/// Updates the remote feature flags using an authenticated remote if a token is provided or an account exists
541
/// Otherwise an anonymous remote will be used
542
func updateFeatureFlags(authToken: String? = nil, completion: (() -> Void)? = nil) {
543
+ // Enable certain feature flags on test builds.
544
+ if BuildConfiguration.current ~= [.a8cPrereleaseTesting, .a8cBranchTest, .localDeveloper] {
545
+ FeatureFlagOverrideStore().override(RemoteFeatureFlag.dotComWebLogin, withValue: true)
546
+ }
547
+
548
var api: WordPressComRestApi
549
if let authToken {
550
api = WordPressComRestApi.defaultV2Api(authToken: authToken)
0 commit comments