Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Commit 30d0bbc

Browse files
committed
Prepare for 4.4.4 changed getAndTrackDeeplink to return the first redirect url instead of following redirects.
1 parent c4aff00 commit 30d0bbc

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

Artifacts/include/Iterable-iOS-SDK/IterableAPI.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,9 @@ typedef NS_ENUM(NSInteger, PushServicePlatform) {
572572
@param webpageURL the URL that was clicked
573573
@param callbackBlock the callback to send after the webpageURL is called
574574
575-
@discussion passes the string of the redirected URL to the callback
576-
*/+(void) getAndTrackDeeplink:(NSURL *)webpageURL callbackBlock:(ITEActionBlock)callbackBlock;
575+
@discussion passes the string of the redirected URL to the callback, returns the original webpageURL if not an iterable link
576+
*/
577+
+(void) getAndTrackDeeplink:(NSURL *)webpageURL callbackBlock:(ITEActionBlock)callbackBlock;
577578

578579
@end
579580

Artifacts/libIterable-iOS-SDK.a

-19.4 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1515
#### Fixed
1616
- nothing yet
1717

18+
## [4.4.4](https://github.com/Iterable/iterable-ios-sdk/releases/tag/4.4.4)
19+
#### Changed
20+
- Changed logic for `getAndTrackDeeplink` to not follow re-directs and return the first url redirect location instead.
21+
1822
## [4.4.3](https://github.com/Iterable/iterable-ios-sdk/releases/tag/4.4.3)
1923
#### Fixed
2024
- Fixes nil data in sendRequest onFailureHandler

IterableSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "IterableSDK"
19-
s.version = "4.4.3"
19+
s.version = "4.4.4"
2020
s.summary = "Iterable's official SDK for iOS"
2121

2222
s.description = <<-DESC

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![CocoaPods](https://img.shields.io/cocoapods/v/IterableSDK.svg?style=flat)](https://cocoapods.org/pods/IterableSDK)
22
[![License](https://img.shields.io/cocoapods/l/IterableSDK.svg?style=flat)](https://opensource.org/licenses/MIT)
3-
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/IterableSDK.svg?style=flat)](http://cocoadocs.org/docsets/IterableSDK/4.4.3/)
3+
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/IterableSDK.svg?style=flat)](http://cocoadocs.org/docsets/IterableSDK/4.4.4/)
44

55
# Iterable iOS SDK
66

0 commit comments

Comments
 (0)