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

Commit 88c730b

Browse files
committed
prepare for 4.4.0 In-app html notifications
1 parent 5839096 commit 88c730b

File tree

6 files changed

+22
-4
lines changed

6 files changed

+22
-4
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,16 @@ typedef NS_ENUM(NSInteger, PushServicePlatform) {
502502
*/
503503
- (void)trackInAppClick:(NSString *)messageId buttonIndex:(NSNumber *)buttonIndex;
504504

505+
/**
506+
@method
507+
508+
@abstract Tracks a inAppClick event
509+
510+
@param messageId The messageId of the notification
511+
@param buttonURL The url of the button that was clicked
512+
*/
513+
- (void)trackInAppClick:(NSString *)messageId buttonURL:(NSString *)buttonURL;
514+
505515
/**
506516
@method
507517

Artifacts/libIterable-iOS-SDK.a

312 KB
Binary file not shown.

CHANGELOG.md

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

18+
## [4.4.0](https://github.com/Iterable/iterable-ios-sdk/releases/tag/4.4.0)
19+
#### Added
20+
- Added the `showIterableNotificationHTML` function to create html based in-app notifications
21+
22+
#### Changed
23+
- Changed the `spawnInAppNotification` function to parse html formatted notifications.
24+
1825
## [4.3.3](https://github.com/Iterable/iterable-ios-sdk/releases/tag/4.3.3)
1926
#### Added
2027
- Added the `clearSharedInstance` function to reset the stored Iterable instance.

Iterable-iOS-SDK/IterableInAppHTMLViewController.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,9 @@ - (void)resizeWebView:(UIWebView *)aWebView {
157157
break;
158158
case INAPP_CENTER:
159159
break;
160+
case INAPP_FULL:
161+
break;
160162
}
161-
float ex = center.x;
162163
center.x = resizeCenterX;
163164
aWebView.center = center;
164165
}
@@ -202,7 +203,7 @@ - (void)webViewDidFinishLoad:(UIWebView *)aWebView {
202203
203204
@abstract Handles when a link is clicked within the webView.
204205
205-
@param aWebView the webview
206+
@param webView the webview
206207
@param request the NSURLRequest
207208
@param navigationType the navigation type
208209

Iterable-iOS-SDK/IterableInAppManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
113113
@abstract Gets the int value of the padding from the payload
114114
115-
@param payload the value
115+
@param value the value
116116
117117
@return the padding integer
118118

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.3.3"
19+
s.version = "4.4.0"
2020
s.summary = "Iterable's official SDK for iOS"
2121

2222
s.description = <<-DESC

0 commit comments

Comments
 (0)