Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 916659c

Browse files
Merge pull request #674 from wordpress-mobile/wcios/new-step-for-enter-email-screen
Use a new `Step` value for Enter WPCOM email screen
2 parents 6130b0f + c882069 commit 916659c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = 'WordPressAuthenticator'
5-
s.version = '2.4.0-beta.1'
5+
s.version = '2.4.0-beta.2'
66

77
s.summary = 'WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps.'
88
s.description = <<-DESC

WordPressAuthenticator/Analytics/AuthenticatorAnalyticsTracker.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ public class AuthenticatorAnalyticsTracker {
112112
/// This represents the user opening their mail. It’s not strictly speaking an in-app screen but for the user it is part of the flow.
113113
case emailOpened = "email_opened"
114114

115+
/// Represents the screen or step in which WPCOM account email is entered by the user
116+
///
117+
case enterEmailAddress = "enter_email_address"
118+
115119
/// The screen with a username and password visible
116120
///
117121
case usernamePassword = "username_password"

WordPressAuthenticator/Unified Auth/View Related/Get Started/GetStartedViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,9 @@ private extension GetStartedViewController {
452452
}
453453

454454
if isMovingToParent {
455-
tracker.track(step: .start)
455+
tracker.track(step: .enterEmailAddress)
456456
} else {
457-
tracker.set(step: .start)
457+
tracker.set(step: .enterEmailAddress)
458458
}
459459
}
460460
}

0 commit comments

Comments
 (0)