Skip to content

Commit

Permalink
release: 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Repro Bot committed Feb 11, 2018
1 parent 712e840 commit c34d12d
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
//
// Repro iOS SDK
//
// Copyright (c) 2014 Repro Inc. All rights reserved.
//

@interface RPRViewContentProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRSearchProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSString *contentID;
@property (nonatomic, readwrite, copy) NSString *searchString;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRAddToCartProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRAddToWishlistProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSString *contentID;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRInitiateCheckoutProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSString *contentID;
@property (nonatomic, readwrite) NSInteger numItems;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRAddPaymentInfoProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSString *contentID;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRPurchaseProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite) NSInteger numItems;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRShareProperties : NSObject
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSString *contentID;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *serviceName;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRLeadProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *contentCategory;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end

@interface RPRCompleteRegistrationProperties : NSObject
@property (nonatomic, readwrite) double value;
@property (nonatomic, readwrite, copy) NSString *currency;
@property (nonatomic, readwrite, copy) NSString *contentName;
@property (nonatomic, readwrite, copy) NSString *status;
@property (nonatomic, readwrite, copy) NSDictionary *extras;
@end
17 changes: 14 additions & 3 deletions Repro.embeddedframework/Repro.framework/Headers/Repro.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
//
// Repro.h
// Repro
// Repro iOS SDK
//
// Created by Masahiro Hayashi on 9/17/14.
// Copyright (c) 2014 Repro Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RPREventProperties.h"

//! Project version number for Repro.
FOUNDATION_EXPORT double ReproVersionNumber;
Expand Down Expand Up @@ -40,6 +39,18 @@ typedef NS_ENUM(NSInteger, RPRLogLevel) {
+ (void)track:(NSString*)name properties:(NSDictionary*)properties;
+ (void)startWebViewTracking:(id)delegate;

// Standard event tracking
+ (void)trackViewContent:(NSString *)contentID properties:(RPRViewContentProperties *)properties;
+ (void)trackSearch:(RPRSearchProperties *)properties;
+ (void)trackAddToCart:(NSString *)contentID properties:(RPRAddToCartProperties *)properties;
+ (void)trackAddToWishlist:(RPRAddToWishlistProperties *)properties;
+ (void)trackInitiateCheckout:(RPRInitiateCheckoutProperties *)properties;
+ (void)trackAddPaymentInfo:(RPRAddPaymentInfoProperties *)properties;
+ (void)trackPurchase:(NSString *)contentID properties:(RPRPurchaseProperties *)properties;
+ (void)trackShare:(RPRShareProperties *)properties;
+ (void)trackCompleteRegistration:(RPRCompleteRegistrationProperties *)properties;
+ (void)trackLead:(RPRLeadProperties *)properties;

// Recording
+ (void)startRecording;
+ (void)stopRecording;
Expand Down
Binary file modified Repro.embeddedframework/Repro.framework/Info.plist
Binary file not shown.
Binary file modified Repro.embeddedframework/Repro.framework/Repro
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit c34d12d

Please sign in to comment.