Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
3.2.6 Bug fixes and addition of validation for excluding empty events…
Browse files Browse the repository at this point in the history
… in events batches
  • Loading branch information
WTjoshgillingham committed Aug 30, 2017
1 parent 19e7fb0 commit 678eee6
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 4 deletions.
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

5 changes: 4 additions & 1 deletion Headers/WTDataCollector.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
//

#import <Foundation/Foundation.h>

#ifdef __cplusplus
#import <CoreData/CoreData.h>
#else
@import CoreData;
#endif

@class WTEventMeta;
@class WTEventMedia;
Expand Down
4 changes: 4 additions & 0 deletions Headers/WTImageOptimizeFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
// Copyright (c) 2015 Webtrends. All rights reserved.
//

#ifdef __cplusplus
#import <UIKit/UIKit.h>
#else
@import UIKit;
#endif
#import "WTOptimizeFactor.h"

/**
Expand Down
4 changes: 4 additions & 0 deletions Headers/WTMultivariateOptimizeFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@

#import "WTOptimizeFactor.h"

#ifdef __cplusplus
#import <UIKit/UIKit.h>
#else
@import UIKit;
#endif

extern NSString * const kWTFactorKeyText;
extern NSString * const kWTFactorKeyButtonText;
Expand Down
5 changes: 5 additions & 0 deletions Headers/WTOptimizeButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@
*/
@property (readonly, strong, nonatomic) WTMultivariateOptimizeFactor *wtFactor;

/**
* The conversions associated with the given identifer.
*/
@property (readonly, strong, nonatomic) NSArray *wtConversions;

@end
1 change: 1 addition & 0 deletions Headers/WTOptimizeFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
id _rawValue;
NSString *_identifier;
NSString *_wtIdentifier;
NSString *_cacheStatus;
}

/**
Expand Down
2 changes: 2 additions & 0 deletions Headers/WTOptimizeImageView.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@
*/
@property (readonly, strong, nonatomic) WTImageOptimizeFactor *wtFactor;

- (void)applyTest;

@end
25 changes: 25 additions & 0 deletions Headers/WTOptimizeManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,29 @@
*/
+(void)updateTestCache: (BOOL)asynchronously;

/**
* Show progress indicator on top view
*/
+(void) showProgressIndicator;

/**
* Dismiss progress indicator from top view
*/
+(void) dismissProgressIndicator;

/**
* Enable WTOptimizeManager
*/
+(void) enable;

/**
* Disable WTOptimizeManager
*/
+(void) disable;

/**
* @return TRUE if WTOptimizeManager is enabled
*/
+(BOOL) isEnabled;

@end
3 changes: 3 additions & 0 deletions Headers/WTOptimizeTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@
@interface WTOptimizeTest : NSObject

@property (strong, nonatomic) NSArray *factors;
@property (strong, nonatomic) NSArray *conversions;
@property (strong, nonatomic) NSString *guid;
@property (nonatomic, strong) NSString *projectLocation;
@property (nonatomic) NSInteger projectId;
@property (nonatomic) NSInteger experimentId;
@property (nonatomic) NSInteger testId;
@property (strong, nonatomic) NSString *testAlias;
@property (nonatomic, strong) NSString *projectTypeId;
@property (strong, nonatomic) NSString *personalizedId;
@property (nonatomic) NSTimeInterval expiration;
@property (nonatomic) NSString *cacheStatus;

- (WTOptimizeFactor *) factorForIdentifier:(NSString *)identifier;
+(void) cleanExpiredTests;
Expand Down
5 changes: 5 additions & 0 deletions Headers/WTWebViewDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
//

#import <Foundation/Foundation.h>
#ifdef __cplusplus
#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
#else
@import UIKit;
@import WebKit;
#endif

/**
* # UIWebView
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
The Webtrends SDK is a analytics library for iOS. This guide will walk you through the initial setup process, from integrating the SDK with your project, to sending events to Webtrends.

###Release Notes
The Webtrends iOS SDK 3.2.5 release contains bug fixes and feature enhancements. Remote push notifications are now included as automatic events. The documentation now reflects changes to the JSON format for creating tests in Optimize. More detailed documentation is available in the [help] pages on what parameters are sent and what values they will contain.
The Webtrends iOS SDK 3.2.4 now supports the ability to deliver a test or target to the first screen an app user sees after launching the app. In addition, the ability to add a load progress indicator was added to the SDK. You can now configure the timeout value for the progress indicator as well. For users wanting more manual control of the Optimize test data cached in the SDK, the ability to manually flush the data cache and set cache refresh values has been provided. Lastly, partial test content rendering has been added to the SDK. You can now track which parts of a test were viewed and use that data to generate Infinity reports. More detail documentation is available in the [help] pages on what parameters are sent and what values they will contain.

For more details, see [the Webtrends Optimize page][Optimize] for more information. For details on implementing Optimize in your iOS application, please see [our help documentation][help].

Expand Down
Binary file modified SharedAssets/opdb.sqlite
Binary file not shown.
Binary file modified SharedAssets/wtdb.sqlite
Binary file not shown.
5 changes: 5 additions & 0 deletions WatchHeaders/WTWatchDataCollector.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
//

#import <Foundation/Foundation.h>
#ifdef __cplusplus
#import <WatchKit/WatchKit.h>
#import <WatchConnectivity/WatchConnectivity.h>
#else
@import WatchKit;
@import WatchConnectivity;
#endif

@class WTWatchEventMeta;

Expand Down
2 changes: 1 addition & 1 deletion Webtrends-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Webtrends-SDK"
s.version = "3.2.5"
s.version = "3.2.6"
s.summary = "The mobile SDK for Webtrends Analytics and Webtrends Optimize"
s.license = 'COMMERCIAL'
s.homepage = "http://webtrends.com"
Expand Down
Binary file modified libOptimizeSDK.a
Binary file not shown.
Binary file modified libWebtrendsSDK.a
Binary file not shown.
Binary file modified libWebtrendsWatchSDK.a
Binary file not shown.

0 comments on commit 678eee6

Please sign in to comment.