Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WordPressAuthenticator.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "WordPressAuthenticator"
s.version = "1.26.0"
s.version = "1.27.0-beta.1"
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."

s.description = <<-DESC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,33 +89,33 @@ private extension TextFieldTableViewCell {
textField.returnKeyType = .continue
registerTextFieldAction()
textField.accessibilityLabel = Constants.siteAddress
textField.accessibilityIdentifier = Constants.siteAddress
textField.accessibilityIdentifier = Constants.siteAddressID
case .username:
textField.keyboardType = .default
textField.returnKeyType = .next
setupOnePasswordButtonIfNeeded()
textField.accessibilityLabel = Constants.username
textField.accessibilityIdentifier = Constants.username
textField.accessibilityIdentifier = Constants.usernameID
case .password:
textField.keyboardType = .default
textField.returnKeyType = .continue
setSecureTextEntry(true)
showSecureTextEntryToggle = true
configureSecureTextEntryToggle()
textField.accessibilityLabel = Constants.password
textField.accessibilityIdentifier = Constants.password
textField.accessibilityIdentifier = Constants.passwordID
case .numericCode:
textField.keyboardType = .numberPad
textField.returnKeyType = .continue
textField.accessibilityLabel = Constants.otp
textField.accessibilityIdentifier = Constants.otp
textField.accessibilityIdentifier = Constants.otpID
case .email:
textField.keyboardType = .emailAddress
textField.returnKeyType = .continue
textField.textContentType = .username // So the password autofill appears on the keyboard
setupOnePasswordButtonIfNeeded()
textField.accessibilityLabel = Constants.email
textField.accessibilityIdentifier = Constants.email
textField.accessibilityIdentifier = Constants.emailID
}
}

Expand Down Expand Up @@ -242,5 +242,10 @@ extension TextFieldTableViewCell {
comment: "Accessibility label for the 2FA text field.")
static let email = NSLocalizedString("Email address",
comment: "Accessibility label for the email address text field.")
static let siteAddressID = "Site address"
static let usernameID = "Username"
static let passwordID = "Password"
static let otpID = "Authentication code"
static let emailID = "Email address"
}
}