-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable .com web based login on test builds #23801
Conversation
|
App Name | ![]() |
|
Configuration | Release-Alpha | |
Build Number | pr23801-e73c44c | |
Version | 25.4.2 | |
Bundle ID | org.wordpress.alpha | |
Commit | e73c44c | |
App Center Build | WPiOS - One-Offs #11036 |
|
App Name | ![]() |
|
Configuration | Release-Alpha | |
Build Number | pr23801-e73c44c | |
Version | 25.4.2 | |
Bundle ID | com.jetpack.alpha | |
Commit | e73c44c | |
App Center Build | jetpack-installable-builds #10076 |
@@ -540,6 +540,11 @@ extension WordPressAppDelegate { | |||
/// Updates the remote feature flags using an authenticated remote if a token is provided or an account exists | |||
/// Otherwise an anonymous remote will be used | |||
func updateFeatureFlags(authToken: String? = nil, completion: (() -> Void)? = nil) { | |||
// Enable certain feature flags on test builds. | |||
if BuildConfiguration.current ~= [.a8cPrereleaseTesting, .a8cBranchTest, .localDeveloper] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change still needed? I saw the message saying that the is no rush. If that's the case, I'd suggest closing this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with closing this PR. The tricky thing about this particular feature flag is it's on the main login page, where you don't have access to the Debug menu. There is no convenient way to enable the feature flag during testing, without signing into the app first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's up to you. I'm going to approve.
@@ -540,6 +540,11 @@ extension WordPressAppDelegate { | |||
/// Updates the remote feature flags using an authenticated remote if a token is provided or an account exists | |||
/// Otherwise an anonymous remote will be used | |||
func updateFeatureFlags(authToken: String? = nil, completion: (() -> Void)? = nil) { | |||
// Enable certain feature flags on test builds. | |||
if BuildConfiguration.current ~= [.a8cPrereleaseTesting, .a8cBranchTest, .localDeveloper] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's up to you. I'm going to approve.
.dotComWebLogin
is still in 10% roll out at the moment. Enabling it in test builds would make it easier for others to try the new flow.Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR submission checklist:
RELEASE-NOTES.txt
if necessary.Testing checklist: