Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOB-5940] version 6.4.12 #614

Merged
merged 4 commits into from
Mar 28, 2023
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 6.4.12
### Added
- Added a new function to `IterableAPI` to get the currently set authentication token
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A new failure handler which gets called when passed an invalid auth token or null?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOPS good catch

- Added a new function (`onTokenRegistrationFailed`) to the `IterableAuthDelegate` upon authentication token retrieval failure

### Changed
- Changed `setEmail` and `setUserId` to run through the login process if also sent in an authentication token (and a non-`nil` ID)

### Fixed
- Fixed instances where setting a new authentication token for a user failed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes instances where setting a new authToken for same user failed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOPS I like this too

## 6.4.11
### Fixed
- Fixed so that `AuthManager` clears the previous refresh timer before setting a new one (thanks, @cranberyxl!)
Expand Down
5 changes: 2 additions & 3 deletions Iterable-iOS-AppExtensions.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Iterable-iOS-AppExtensions"
s.module_name = "IterableAppExtensions"
s.version = "6.4.11"
s.version = "6.4.12"
s.summary = "App Extensions for Iterable SDK"

s.description = <<-DESC
Expand All @@ -10,8 +10,7 @@ Pod::Spec.new do |s|

s.homepage = "https://github.com/Iterable/swift-sdk.git"
s.license = "MIT"
s.author = { "Tapash Majumder" => "tapash@iterable.com",
"Jay Kim" => "jay.kim@iterable.com" }
s.author = { "Jay Kim" => "jay.kim@iterable.com" }

s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/Iterable/swift-sdk.git", :tag => s.version }
Expand Down
5 changes: 2 additions & 3 deletions Iterable-iOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Iterable-iOS-SDK"
s.module_name = "IterableSDK"
s.version = "6.4.11"
s.version = "6.4.12"
s.summary = "Iterable's official SDK for iOS"

s.description = <<-DESC
Expand All @@ -10,8 +10,7 @@ Pod::Spec.new do |s|

s.homepage = "https://github.com/Iterable/swift-sdk.git"
s.license = "MIT"
s.author = { "Tapash Majumder" => "tapash@iterable.com",
"Jay Kim" => "jay.kim@iterable.com" }
s.author = { "Jay Kim" => "jay.kim@iterable.com" }

s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/Iterable/swift-sdk.git", :tag => s.version }
Expand Down
2 changes: 1 addition & 1 deletion swift-sdk/IterableAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import UIKit
@objcMembers
public final class IterableAPI: NSObject {
/// The current SDK version
public static let sdkVersion = "6.4.11"
public static let sdkVersion = "6.4.12"

/// The email of the logged in user that this IterableAPI is using
public static var email: String? {
Expand Down