diff --git a/CHANGELOG.md b/CHANGELOG.md index 54d38c82c..99be4f95e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 6.2.12 +#### Added +- Added authentication support + +## 6.2.12-beta1 +#### Added +- Added authentication support + ## 6.2.11 #### Added - Xcode 12 and iOS 14 support. diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index e89eea479..4514def8f 100644 --- a/Iterable-iOS-AppExtensions.podspec +++ b/Iterable-iOS-AppExtensions.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-AppExtensions" s.module_name = "IterableAppExtensions" - s.version = "6.2.11" + s.version = "6.2.12" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index a8fb91229..984b97895 100644 --- a/Iterable-iOS-SDK.podspec +++ b/Iterable-iOS-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-SDK" s.module_name = "IterableSDK" - s.version = "6.2.11" + s.version = "6.2.12" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC diff --git a/swift-sdk/Internal/AuthManager.swift b/swift-sdk/Internal/AuthManager.swift index 7ba5472b9..20e8aeee3 100644 --- a/swift-sdk/Internal/AuthManager.swift +++ b/swift-sdk/Internal/AuthManager.swift @@ -42,7 +42,7 @@ class AuthManager: IterableInternalAuthManagerProtocol { } // @objc attribute only needed for the pre-iOS 10 Timer constructor in queueAuthTokenExpirationRefresh - @objc func requestNewAuthToken(hasFailedPriorAuth: Bool = false, onSuccess: ((String?) -> Void)? = nil) { + @objc func requestNewAuthToken(hasFailedPriorAuth: Bool = false, onSuccess: AuthTokenRetrievalHandler? = nil) { guard !pendingAuth else { return } @@ -92,7 +92,7 @@ class AuthManager: IterableInternalAuthManagerProtocol { queueAuthTokenExpirationRefresh(authToken) } - private func onAuthTokenReceived(retrievedAuthToken: String?, onSuccess: ((String?) -> Void)?) { + private func onAuthTokenReceived(retrievedAuthToken: String?, onSuccess: AuthTokenRetrievalHandler?) { pendingAuth = false authToken = retrievedAuthToken diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index 0116df326..d9f800218 100644 --- a/swift-sdk/IterableAPI.swift +++ b/swift-sdk/IterableAPI.swift @@ -9,7 +9,7 @@ import UIKit @objcMembers public final class IterableAPI: NSObject { /// The current SDK version - public static let sdkVersion = "6.2.11" + public static let sdkVersion = "6.2.12" /// The email of the logged in user that this IterableAPI is using public static var email: String? {