From b75205b093ba263adb00bbd4c7145af1a5dce13b Mon Sep 17 00:00:00 2001 From: James Treanor Date: Sat, 14 Sep 2019 16:51:22 -0400 Subject: [PATCH 01/12] CircleCI: Use Xcode 11 --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0bda75289..b42ca6ec3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,20 +2,20 @@ version: 2.1 orbs: # This uses the iOS Orb located at https://github.com/wordpress-mobile/circleci-orbs - ios: wordpress-mobile/ios@0.0.24 + ios: wordpress-mobile/ios@0.0.31 workflows: test_and_validate: jobs: - ios/test: name: Test - xcode-version: "10.2.0" + xcode-version: "11.0" workspace: WordPressAuthenticator.xcworkspace scheme: WordPressAuthenticator device: iPhone XS ios-version: "12.2" - ios/validate-podspec: name: Validate Podspec - xcode-version: "10.2.0" + xcode-version: "11.0" podspec-path: WordPressAuthenticator.podspec update-specs-repo: true From f7e6f662135234b46a93e8903f66bb4d5703ee46 Mon Sep 17 00:00:00 2001 From: James Treanor Date: Sat, 14 Sep 2019 16:58:35 -0400 Subject: [PATCH 02/12] Remove Xcode 11 conditionals --- WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift | 2 -- WordPressAuthenticator/Signin/AppleAuthenticator.swift | 4 ---- WordPressAuthenticator/Signin/LoginEmailViewController.swift | 4 ---- .../Signin/LoginPrologueLoginMethodViewController.swift | 2 -- .../Signin/LoginPrologueSignupMethodViewController.swift | 2 -- .../Signin/LoginPrologueViewController.swift | 4 ---- .../Signin/LoginSiteAddressViewController.swift | 4 ---- 7 files changed, 22 deletions(-) diff --git a/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift b/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift index d64ac8cbd..68bf4587c 100644 --- a/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift +++ b/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift @@ -122,7 +122,6 @@ extension WPStyleGuide { /// class func appleLoginButton() -> UIControl { - #if XCODE11 if #available(iOS 13.0, *) { let traits = UITraitCollection.current let buttonStyle: ASAuthorizationAppleIDButton.Style = (traits.userInterfaceStyle == .dark) ? .white : .black @@ -132,7 +131,6 @@ extension WPStyleGuide { appleButton.heightAnchor.constraint(greaterThanOrEqualToConstant: Constants.buttonMinHeight).isActive = true return appleButton } - #endif return UIControl() } diff --git a/WordPressAuthenticator/Signin/AppleAuthenticator.swift b/WordPressAuthenticator/Signin/AppleAuthenticator.swift index 4dee52169..71f7680d0 100644 --- a/WordPressAuthenticator/Signin/AppleAuthenticator.swift +++ b/WordPressAuthenticator/Signin/AppleAuthenticator.swift @@ -3,8 +3,6 @@ import AuthenticationServices import WordPressKit import SVProgressHUD -#if XCODE11 - @objc protocol AppleAuthenticatorDelegate { func showWPComLogin(loginFields: LoginFields) func authFailedWithError(message: String) @@ -193,5 +191,3 @@ extension AppleAuthenticator: ASAuthorizationControllerPresentationContextProvid return showFromViewController?.view.window ?? UIWindow() } } - -#endif diff --git a/WordPressAuthenticator/Signin/LoginEmailViewController.swift b/WordPressAuthenticator/Signin/LoginEmailViewController.swift index e362cb4f6..a5c2e6136 100644 --- a/WordPressAuthenticator/Signin/LoginEmailViewController.swift +++ b/WordPressAuthenticator/Signin/LoginEmailViewController.swift @@ -545,10 +545,8 @@ open class LoginEmailViewController: LoginViewController, NUXKeyboardResponder { } private func appleTapped() { - #if XCODE11 AppleAuthenticator.sharedInstance.delegate = self AppleAuthenticator.sharedInstance.showFrom(viewController: self) - #endif } } @@ -637,7 +635,6 @@ extension LoginEmailViewController: LoginSocialErrorViewControllerDelegate { extension LoginEmailViewController: GIDSignInUIDelegate { } -#if XCODE11 extension LoginEmailViewController: AppleAuthenticatorDelegate { func showWPComLogin(loginFields: LoginFields) { @@ -650,4 +647,3 @@ extension LoginEmailViewController: AppleAuthenticatorDelegate { } } -#endif diff --git a/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift b/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift index 56e61d7e9..128fc3e9e 100644 --- a/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift +++ b/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift @@ -59,13 +59,11 @@ class LoginPrologueLoginMethodViewController: NUXViewController { } if WordPressAuthenticator.shared.configuration.enableSignInWithApple { - #if XCODE11 if #available(iOS 13.0, *) { let appleButton = WPStyleGuide.appleLoginButton() appleButton.addTarget(self, action: #selector(handleAppleButtonTapped), for: .touchDown) buttonViewController.stackView?.insertArrangedSubview(appleButton, at: 0) } - #endif } buttonViewController.backgroundColor = WordPressAuthenticator.shared.style.viewControllerBackgroundColor diff --git a/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift b/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift index 1a1029404..07201654f 100644 --- a/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift +++ b/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift @@ -71,13 +71,11 @@ class LoginPrologueSignupMethodViewController: NUXViewController { buttonViewController.stackView?.insertArrangedSubview(termsButton, at: 0) if WordPressAuthenticator.shared.configuration.enableSignInWithApple { - #if XCODE11 if #available(iOS 13.0, *) { let appleButton = WPStyleGuide.appleLoginButton() appleButton.addTarget(self, action: #selector(handleAppleButtonTapped), for: .touchDown) buttonViewController.stackView?.insertArrangedSubview(appleButton, at: 1) } - #endif } buttonViewController.backgroundColor = WordPressAuthenticator.shared.style.viewControllerBackgroundColor diff --git a/WordPressAuthenticator/Signin/LoginPrologueViewController.swift b/WordPressAuthenticator/Signin/LoginPrologueViewController.swift index 7903da9f3..627d5c074 100644 --- a/WordPressAuthenticator/Signin/LoginPrologueViewController.swift +++ b/WordPressAuthenticator/Signin/LoginPrologueViewController.swift @@ -118,15 +118,12 @@ class LoginPrologueViewController: LoginViewController { } private func appleTapped() { - #if XCODE11 AppleAuthenticator.sharedInstance.delegate = self AppleAuthenticator.sharedInstance.showFrom(viewController: self) - #endif } } -#if XCODE11 extension LoginPrologueViewController: AppleAuthenticatorDelegate { func showWPComLogin(loginFields: LoginFields) { @@ -139,4 +136,3 @@ extension LoginPrologueViewController: AppleAuthenticatorDelegate { } } -#endif diff --git a/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift b/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift index 5b7774e72..dcc2f73b2 100644 --- a/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift +++ b/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift @@ -286,10 +286,8 @@ class LoginSiteAddressViewController: LoginViewController, NUXKeyboardResponder } private func appleTapped() { - #if XCODE11 AppleAuthenticator.sharedInstance.delegate = self AppleAuthenticator.sharedInstance.showFrom(viewController: self) - #endif } /// Whether the form can be submitted. @@ -368,7 +366,6 @@ class LoginSiteAddressViewController: LoginViewController, NUXKeyboardResponder } } -#if XCODE11 extension LoginSiteAddressViewController: AppleAuthenticatorDelegate { func showWPComLogin(loginFields: LoginFields) { @@ -380,4 +377,3 @@ extension LoginSiteAddressViewController: AppleAuthenticatorDelegate { displayErrorAlert(message, sourceTag: .loginApple) } } -#endif From 07beebe32a1ccec9458e271865253edae7696fbf Mon Sep 17 00:00:00 2001 From: James Treanor Date: Sat, 14 Sep 2019 17:25:11 -0400 Subject: [PATCH 03/12] Run tests on iOS 13 --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b42ca6ec3..636bb256b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,8 @@ workflows: xcode-version: "11.0" workspace: WordPressAuthenticator.xcworkspace scheme: WordPressAuthenticator - device: iPhone XS - ios-version: "12.2" + device: iPhone 11 + ios-version: "13.0" - ios/validate-podspec: name: Validate Podspec xcode-version: "11.0" From 3b437f83a465dbd009de7eaa2fbdc65423316a9f Mon Sep 17 00:00:00 2001 From: James Treanor Date: Sat, 14 Sep 2019 17:27:01 -0400 Subject: [PATCH 04/12] CircleCI: Add job for publishing podspec to trunk --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 636bb256b..367559417 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,3 +19,12 @@ workflows: xcode-version: "11.0" podspec-path: WordPressAuthenticator.podspec update-specs-repo: true + - ios/publish-podspec: + name: Publish to Trunk + xcode-version: "10.2.0" + podspec-path: WordPressAuthenticator.podspec + filters: + tags: + only: /.*/ + branches: + ignore: /.*/ From fcb1ef931b433ff44b4655a8a1bf8adb7f51d6ab Mon Sep 17 00:00:00 2001 From: James Treanor Date: Sat, 14 Sep 2019 17:45:50 -0400 Subject: [PATCH 05/12] Use Xcode 11 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 367559417..c8465b743 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ workflows: update-specs-repo: true - ios/publish-podspec: name: Publish to Trunk - xcode-version: "10.2.0" + xcode-version: "11.0" podspec-path: WordPressAuthenticator.podspec filters: tags: From 21ac1857e9a92c4204a838ddc3217dc6d69ac16f Mon Sep 17 00:00:00 2001 From: Aaron Douglas Date: Sat, 14 Sep 2019 12:05:32 -0400 Subject: [PATCH 06/12] Reordering the SIWA buttons to de-emphasize it --- WordPressAuthenticator.podspec | 2 +- .../Signin/LoginPrologueLoginMethodViewController.swift | 2 +- .../Signin/LoginPrologueSignupMethodViewController.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WordPressAuthenticator.podspec b/WordPressAuthenticator.podspec index b329a5421..7fdba1b9a 100644 --- a/WordPressAuthenticator.podspec +++ b/WordPressAuthenticator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WordPressAuthenticator" - s.version = "1.8.1-beta.2" + s.version = "1.8.1-beta.3" s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps." s.description = <<-DESC diff --git a/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift b/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift index 128fc3e9e..8b28335e4 100644 --- a/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift +++ b/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift @@ -62,7 +62,7 @@ class LoginPrologueLoginMethodViewController: NUXViewController { if #available(iOS 13.0, *) { let appleButton = WPStyleGuide.appleLoginButton() appleButton.addTarget(self, action: #selector(handleAppleButtonTapped), for: .touchDown) - buttonViewController.stackView?.insertArrangedSubview(appleButton, at: 0) + buttonViewController.stackView?.insertArrangedSubview(appleButton, at: 2) } } diff --git a/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift b/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift index 07201654f..c20e7481b 100644 --- a/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift +++ b/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift @@ -74,7 +74,7 @@ class LoginPrologueSignupMethodViewController: NUXViewController { if #available(iOS 13.0, *) { let appleButton = WPStyleGuide.appleLoginButton() appleButton.addTarget(self, action: #selector(handleAppleButtonTapped), for: .touchDown) - buttonViewController.stackView?.insertArrangedSubview(appleButton, at: 1) + buttonViewController.stackView?.insertArrangedSubview(appleButton, at: 3) } } From bb3032905cebb47ee6ccfc177e796dbbdcde627c Mon Sep 17 00:00:00 2001 From: James Treanor Date: Sat, 14 Sep 2019 17:06:11 -0400 Subject: [PATCH 07/12] Podspec: Bump version to 1.9.0-beta.1 for SIWA release --- WordPressAuthenticator.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPressAuthenticator.podspec b/WordPressAuthenticator.podspec index 7fdba1b9a..4074e136e 100644 --- a/WordPressAuthenticator.podspec +++ b/WordPressAuthenticator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WordPressAuthenticator" - s.version = "1.8.1-beta.3" + s.version = "1.9.0-beta.1" s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps." s.description = <<-DESC From b4cd56582466c80c3fea08102ed98b206c1c32bd Mon Sep 17 00:00:00 2001 From: Aaron Douglas Date: Thu, 19 Sep 2019 15:04:51 -0500 Subject: [PATCH 08/12] Adds missing signin events for SIWA and missing source properties to others. --- WordPressAuthenticator.podspec | 2 +- .../Signin/AppleAuthenticator.swift | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/WordPressAuthenticator.podspec b/WordPressAuthenticator.podspec index 4074e136e..e602bc9f3 100644 --- a/WordPressAuthenticator.podspec +++ b/WordPressAuthenticator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WordPressAuthenticator" - s.version = "1.9.0-beta.1" + s.version = "1.9.0-beta.2" s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps." s.description = <<-DESC diff --git a/WordPressAuthenticator/Signin/AppleAuthenticator.swift b/WordPressAuthenticator/Signin/AppleAuthenticator.swift index 71f7680d0..0b994bb1c 100644 --- a/WordPressAuthenticator/Signin/AppleAuthenticator.swift +++ b/WordPressAuthenticator/Signin/AppleAuthenticator.swift @@ -99,12 +99,13 @@ private extension AppleAuthenticator { func signupSuccessful(with credentials: AuthenticatorCredentials) { WordPressAuthenticator.track(.createdAccount, properties: ["source": "apple"]) - WordPressAuthenticator.track(.signupSocialSuccess) + WordPressAuthenticator.track(.signupSocialSuccess, properties: ["source": "apple"]) showSignupEpilogue(for: credentials) } func loginSuccessful(with credentials: AuthenticatorCredentials) { - // TODO: Tracks events for login + WordPressAuthenticator.track(.signedIn, properties: ["source": "apple"]) + WordPressAuthenticator.track(.loginSocialSuccess, properties: ["source": "apple"]) showSigninEpilogue(for: credentials) } @@ -130,13 +131,13 @@ private extension AppleAuthenticator { func signupFailed(with error: Error) { DDLogError("Apple Authenticator: Signup failed. error: \(error.localizedDescription)") - WPAnalytics.track(.signupSocialFailure) + WordPressAuthenticator.track(.signupSocialFailure, properties: ["source": "apple"]) delegate?.authFailedWithError(message: error.localizedDescription) } func logInInstead() { - WordPressAuthenticator.track(.signupSocialToLogin) - WordPressAuthenticator.track(.loginSocialSuccess) + WordPressAuthenticator.track(.signupSocialToLogin, properties: ["source": "apple"]) + WordPressAuthenticator.track(.loginSocialSuccess, properties: ["source": "apple"]) delegate?.showWPComLogin(loginFields: loginFields) } From 2c6fad1ffc9e66d46156a76d2afcbc21dc665de2 Mon Sep 17 00:00:00 2001 From: Aaron Douglas Date: Fri, 20 Sep 2019 14:06:51 -0500 Subject: [PATCH 09/12] Adds missing SIWA button tap events --- WordPressAuthenticator/Signin/LoginEmailViewController.swift | 2 +- .../Signin/LoginPrologueLoginMethodViewController.swift | 4 +++- .../Signin/LoginPrologueSignupMethodViewController.swift | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/WordPressAuthenticator/Signin/LoginEmailViewController.swift b/WordPressAuthenticator/Signin/LoginEmailViewController.swift index a5c2e6136..26d07687c 100644 --- a/WordPressAuthenticator/Signin/LoginEmailViewController.swift +++ b/WordPressAuthenticator/Signin/LoginEmailViewController.swift @@ -172,7 +172,7 @@ open class LoginEmailViewController: LoginViewController, NUXKeyboardResponder { GIDSignIn.sharedInstance().signIn() - WordPressAuthenticator.track(.loginSocialButtonClick) + WordPressAuthenticator.track(.loginSocialButtonClick, properties: ["source": "google"]) } /// Add the log in with site address button to the view diff --git a/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift b/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift index 8b28335e4..cd9410360 100644 --- a/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift +++ b/WordPressAuthenticator/Signin/LoginPrologueLoginMethodViewController.swift @@ -45,7 +45,7 @@ class LoginPrologueLoginMethodViewController: NUXViewController { let googleTitle = NSLocalizedString("Continue with Google", comment: "Button title. Tapping begins log in using Google.") buttonViewController.setupBottomButton(title: googleTitle, isPrimary: false, accessibilityIdentifier: "Log in with Google Button") { [weak self] in defer { - WordPressAuthenticator.track(.loginSocialButtonClick) + WordPressAuthenticator.track(.loginSocialButtonClick, properties: ["source": "google"]) } self?.dismiss(animated: true) @@ -79,6 +79,8 @@ class LoginPrologueLoginMethodViewController: NUXViewController { } @objc func handleAppleButtonTapped() { + WordPressAuthenticator.track(.loginSocialButtonClick, properties: ["source": "apple"]) + dismiss(animated: true) appleTapped?() } diff --git a/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift b/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift index c20e7481b..9df8f60e6 100644 --- a/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift +++ b/WordPressAuthenticator/Signin/LoginPrologueSignupMethodViewController.swift @@ -49,7 +49,7 @@ class LoginPrologueSignupMethodViewController: NUXViewController { buttonViewController.setupBottomButton(title: createTitle, isPrimary: false, accessibilityIdentifier: "Sign up with Google Button") { [weak self] in defer { - WordPressAuthenticator.track(.signupSocialButtonTapped) + WordPressAuthenticator.track(.signupSocialButtonTapped, properties: ["source": "google"]) } self?.dismiss(animated: true) @@ -87,6 +87,8 @@ class LoginPrologueSignupMethodViewController: NUXViewController { } @objc func handleAppleButtonTapped() { + WordPressAuthenticator.track(.signupSocialButtonTapped, properties: ["source": "apple"]) + dismiss(animated: true) appleTapped?() } From d29449fae53248104b0cb54cd16e71c81f537dad Mon Sep 17 00:00:00 2001 From: Aaron Douglas Date: Fri, 20 Sep 2019 14:07:39 -0500 Subject: [PATCH 10/12] Bump podspec --- WordPressAuthenticator.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPressAuthenticator.podspec b/WordPressAuthenticator.podspec index e602bc9f3..ba224ffb4 100644 --- a/WordPressAuthenticator.podspec +++ b/WordPressAuthenticator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WordPressAuthenticator" - s.version = "1.9.0-beta.2" + s.version = "1.9.0-beta.3" s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps." s.description = <<-DESC From c9b42249a6ec43efeaf72ba7610a49fe34145cf6 Mon Sep 17 00:00:00 2001 From: Lorenzo Lewis Date: Thu, 29 Aug 2019 18:33:11 -0500 Subject: [PATCH 11/12] Change copy per Editorial and to reflect Android app --- WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift | 2 +- .../Signin/LoginSiteAddressViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift b/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift index 68bf4587c..e91513e7f 100644 --- a/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift +++ b/WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift @@ -154,7 +154,7 @@ extension WPStyleGuide { button = textButton(normal: attrStrNormal, highlighted: attrStrHighlight, font: font, alignment: alignment) } else { - let baseString = NSLocalizedString("Log in by entering your site address.", comment: "Label for button to log in using your site address.") + let baseString = NSLocalizedString("Enter the address of the WordPress site you'd like to connect.", comment: "Label for button to log in using your site address.") let attrStrNormal = selfHostedButtonString(baseString, linkColor: style.textButtonColor) let attrStrHighlight = selfHostedButtonString(baseString, linkColor: style.textButtonHighlightColor) diff --git a/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift b/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift index dcc2f73b2..4f3c85f87 100644 --- a/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift +++ b/WordPressAuthenticator/Signin/LoginSiteAddressViewController.swift @@ -27,7 +27,7 @@ class LoginSiteAddressViewController: LoginViewController, NUXKeyboardResponder // MARK: - URL Validation private lazy var urlErrorDebouncer = Debouncer(delay: 2) { [weak self] in - let errorMessage = NSLocalizedString("Enter a valid URL eg. example.com.", comment: "Error message shown when a URL is invalid.") + let errorMessage = NSLocalizedString("Please enter a complete website address, like example.com.", comment: "Error message shown when a URL is invalid.") self?.displayError(message: errorMessage) } From de4fd1baeec86588971fd5c75dc34522b83636e3 Mon Sep 17 00:00:00 2001 From: James Treanor Date: Mon, 23 Sep 2019 15:19:52 +0100 Subject: [PATCH 12/12] Bump version to 1.9.0 for release --- WordPressAuthenticator.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPressAuthenticator.podspec b/WordPressAuthenticator.podspec index ba224ffb4..e5df79888 100644 --- a/WordPressAuthenticator.podspec +++ b/WordPressAuthenticator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WordPressAuthenticator" - s.version = "1.9.0-beta.3" + s.version = "1.9.0" s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps." s.description = <<-DESC