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 Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ target 'WordPressAuthenticator' do
##
pod 'Gridicons', '~> 0.15'
pod 'WordPressUI', '~> 1.0'
pod 'WordPressKit', '~> 2.1.0-beta.2'
pod 'WordPressKit', '~> 3.0.0-beta.1'
pod 'WordPressShared', '~> 1.4'

## Third party libraries
Expand Down
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PODS:
- Specta (1.0.7)
- SVProgressHUD (2.2.5)
- UIDeviceIdentifier (1.1.4)
- WordPressKit (2.1.0-beta.2):
- WordPressKit (3.0.0-beta.1):
- Alamofire (~> 4.7.3)
- CocoaLumberjack (= 3.4.2)
- NSObject-SafeExpectations (= 0.0.3)
Expand All @@ -72,7 +72,7 @@ DEPENDENCIES:
- OHHTTPStubs/Swift (= 6.1.0)
- Specta (= 1.0.7)
- SVProgressHUD (= 2.2.5)
- WordPressKit (~> 2.1.0-beta.2)
- WordPressKit (~> 3.0.0-beta.1)
- WordPressShared (~> 1.4)
- WordPressUI (~> 1.0)

Expand Down Expand Up @@ -116,11 +116,11 @@ SPEC CHECKSUMS:
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6
UIDeviceIdentifier: 8f8a24b257a4d978c8d40ad1e7355b944ffbfa8c
WordPressKit: 7d4e523fe984ecb913342a456d458f50844f416b
WordPressKit: 843906cb26fb8a92dddefd9a324a821555bf2b94
WordPressShared: cfbda56868419842dd7a106a4e807069a0c17aa9
WordPressUI: 44fe43a9c5c504dfd534286e39e1ce6ebcd69ff5
wpxmlrpc: 6ba55c773cfa27083ae4a2173e69b19f46da98e2

PODFILE CHECKSUM: 79c15e97af9d0b04178bef7c338a4be0a5a918d0
PODFILE CHECKSUM: bba3fa5287f208435d83f079ef7069a51a5c090a

COCOAPODS: 1.5.3
4 changes: 2 additions & 2 deletions 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.1.9"
s.version = "1.1.10-beta.1"
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."

s.description = <<-DESC
Expand Down Expand Up @@ -34,6 +34,6 @@ Pod::Spec.new do |s|
s.dependency 'Gridicons', '~> 0.15'
s.dependency 'GoogleSignInRepacked', '4.1.2'
s.dependency 'WordPressUI', '~> 1.0'
s.dependency 'WordPressKit', '~> 2.1.0-beta.2'
s.dependency 'WordPressKit', '~> 3.0.0-beta.1'
s.dependency 'WordPressShared', '~> 1.4'
end
2 changes: 0 additions & 2 deletions WordPressAuthenticator/Services/SignupService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ class SignupService {
failure: @escaping (_ error: Error) -> Void) {

let remote = WordPressComServiceRemote(wordPressComRestApi: anonymousAPI)
let locale = WordPressComLanguageDatabase().deviceLanguage.slug

remote.createWPComAccount(withGoogle: token,
andLocale: locale,
andClientID: configuration.wpcomClientId,
andClientSecret: configuration.wpcomSecret,
success: { response in
Expand Down