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

Commit

Permalink
prepare for 4.4.0 In-app html notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtruong committed Oct 27, 2017
1 parent 5839096 commit 88c730b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 4 deletions.
10 changes: 10 additions & 0 deletions Artifacts/include/Iterable-iOS-SDK/IterableAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,16 @@ typedef NS_ENUM(NSInteger, PushServicePlatform) {
*/
- (void)trackInAppClick:(NSString *)messageId buttonIndex:(NSNumber *)buttonIndex;

/**
@method
@abstract Tracks a inAppClick event
@param messageId The messageId of the notification
@param buttonURL The url of the button that was clicked
*/
- (void)trackInAppClick:(NSString *)messageId buttonURL:(NSString *)buttonURL;

/**
@method
Expand Down
Binary file modified Artifacts/libIterable-iOS-SDK.a
Binary file not shown.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
#### Fixed
- nothing yet

## [4.4.0](https://github.com/Iterable/iterable-ios-sdk/releases/tag/4.4.0)
#### Added
- Added the `showIterableNotificationHTML` function to create html based in-app notifications

#### Changed
- Changed the `spawnInAppNotification` function to parse html formatted notifications.

## [4.3.3](https://github.com/Iterable/iterable-ios-sdk/releases/tag/4.3.3)
#### Added
- Added the `clearSharedInstance` function to reset the stored Iterable instance.
Expand Down
5 changes: 3 additions & 2 deletions Iterable-iOS-SDK/IterableInAppHTMLViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ - (void)resizeWebView:(UIWebView *)aWebView {
break;
case INAPP_CENTER:
break;
case INAPP_FULL:
break;
}
float ex = center.x;
center.x = resizeCenterX;
aWebView.center = center;
}
Expand Down Expand Up @@ -202,7 +203,7 @@ - (void)webViewDidFinishLoad:(UIWebView *)aWebView {
@abstract Handles when a link is clicked within the webView.
@param aWebView the webview
@param webView the webview
@param request the NSURLRequest
@param navigationType the navigation type
Expand Down
2 changes: 1 addition & 1 deletion Iterable-iOS-SDK/IterableInAppManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
@abstract Gets the int value of the padding from the payload
@param payload the value
@param value the value
@return the padding integer
Expand Down
2 changes: 1 addition & 1 deletion IterableSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "IterableSDK"
s.version = "4.3.3"
s.version = "4.4.0"
s.summary = "Iterable's official SDK for iOS"

s.description = <<-DESC
Expand Down

0 comments on commit 88c730b

Please sign in to comment.