diff --git a/LICENSE b/LICENSE index 0111eb5..e949792 100644 --- a/LICENSE +++ b/LICENSE @@ -10,4 +10,9 @@ This product includes a part of 'Mixpanel iOS SDK' (https://github.com/mixpanel/ ---------------------------------------------------------------- +This product includes 'AFNetworking' (https://github.com/AFNetworking/AFNetworking), which is released under the following license(s): + MIT + +---------------------------------------------------------------- + All other components of this product are: Copyright (c) 2015 Repro, Inc. All rights reserved. diff --git a/Repro.embeddedframework/Repro.framework/Headers/RPREventProperties.h b/Repro.embeddedframework/Repro.framework/Headers/RPREventProperties.h deleted file mode 100644 index e688853..0000000 --- a/Repro.embeddedframework/Repro.framework/Headers/RPREventProperties.h +++ /dev/null @@ -1,90 +0,0 @@ -// -// 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 diff --git a/Repro.embeddedframework/Repro.framework/Headers/RPRUserProfileGender.h b/Repro.embeddedframework/Repro.framework/Headers/RPRUserProfileGender.h deleted file mode 100644 index cf2e93f..0000000 --- a/Repro.embeddedframework/Repro.framework/Headers/RPRUserProfileGender.h +++ /dev/null @@ -1,11 +0,0 @@ -// -// Repro iOS SDK -// -// Copyright (c) 2014 Repro Inc. All rights reserved. -// - -typedef NS_ENUM(NSInteger, RPRUserProfileGender) { - RPRUserProfileGenderOther = 0, - RPRUserProfileGenderMale, - RPRUserProfileGenderFemale -}; \ No newline at end of file diff --git a/Repro.embeddedframework/Repro.framework/Headers/Repro.h b/Repro.embeddedframework/Repro.framework/Headers/Repro.h index 9f41a5f..23c3f74 100644 --- a/Repro.embeddedframework/Repro.framework/Headers/Repro.h +++ b/Repro.embeddedframework/Repro.framework/Headers/Repro.h @@ -1,12 +1,12 @@ // -// Repro iOS SDK +// Repro.h +// Repro // +// Created by Masahiro Hayashi on 9/17/14. // Copyright (c) 2014 Repro Inc. All rights reserved. // #import -#import "RPREventProperties.h" -#import "RPRUserProfileGender.h" //! Project version number for Repro. FOUNDATION_EXPORT double ReproVersionNumber; @@ -29,39 +29,18 @@ typedef NS_ENUM(NSInteger, RPRLogLevel) { // User profile + (void)setUserID:(NSString *)userID; -+ (NSString *)getUserID; -+ (NSString *)getDeviceID; -+ (void)setStringUserProfile:(NSString*)value forKey:(NSString*)key; -+ (void)setIntUserProfile:(NSInteger)value forKey:(NSString*)key; -+ (void)setDoubleUserProfile:(double)value forKey:(NSString*)key; -+ (void)setDateUserProfile:(NSDate*)value forKey:(NSString*)key; -+ (void)setUserGender:(RPRUserProfileGender)value; -+ (void)setUserEmailAddress:(NSString*)value; ++ (void)setUserProfile:(NSString *)value forKey:(NSString *)key; ++ (void)setUserProfile:(NSDictionary *)profile; // Event tracking + (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)forceCaptureOnMainThread; + (void)startRecording; + (void)stopRecording; + (void)pauseRecording; + (void)resumeRecording; -+ (void)enableRecordingWhileViewAnimations; -+ (void)disableRecordingWhileViewAnimations; // Masking + (void)mask:(UIView *)view; @@ -70,7 +49,7 @@ typedef NS_ENUM(NSInteger, RPRLogLevel) { + (void)unmaskForKey:(NSString*)key; // Crash reporting -+ (void)enableCrashReporting __attribute__ ((deprecated)); ++ (void)enableCrashReporting; // Log + (void)setLogLevel:(RPRLogLevel)level; @@ -86,4 +65,8 @@ typedef NS_ENUM(NSInteger, RPRLogLevel) { // Integrations + (void)integrateRtoaster:(NSString *)accountID; +// Deprecated ++ (void)enableUsabilityTesting __attribute__ ((deprecated)); ++ (void)survey:(NSError**)error __attribute__ ((deprecated)); + @end diff --git a/Repro.embeddedframework/Repro.framework/Info.plist b/Repro.embeddedframework/Repro.framework/Info.plist index cbd429d..5a8a869 100644 Binary files a/Repro.embeddedframework/Repro.framework/Info.plist and b/Repro.embeddedframework/Repro.framework/Info.plist differ diff --git a/Repro.embeddedframework/Repro.framework/Repro b/Repro.embeddedframework/Repro.framework/Repro index 976f1b9..b458bbd 100644 Binary files a/Repro.embeddedframework/Repro.framework/Repro and b/Repro.embeddedframework/Repro.framework/Repro differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/Info.plist b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/Info.plist index a0a4b27..03bf99e 100644 Binary files a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/Info.plist and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/Info.plist differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..d5593a7 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..f64bcfe Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..a39cbcb Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..188a572 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..d519ef8 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..21c609e Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..1c350ca Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..b552089 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..5fb23e4 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..9e0c145 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..573413c Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..23548d7 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRListCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/Info.plist b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/Info.plist new file mode 100644 index 0000000..907d9bc Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/Info.plist differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerLandscape.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerLandscape.nib new file mode 100644 index 0000000..3f8b99b Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerLandscape.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerPortrait.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerPortrait.nib new file mode 100644 index 0000000..9498cfe Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerPortrait.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/oKx-jP-mhN-view-cDr-1k-YIa.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/oKx-jP-mhN-view-cDr-1k-YIa.nib new file mode 100644 index 0000000..d820930 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/oKx-jP-mhN-view-cDr-1k-YIa.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/puo-Hy-QiQ-view-Wch-Xc-Avw.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/puo-Hy-QiQ-view-Wch-Xc-Avw.nib new file mode 100644 index 0000000..a3e1ac4 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRNotification.storyboardc/puo-Hy-QiQ-view-Wch-Xc-Avw.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..55b389b Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/runtime.nib new file mode 100644 index 0000000..727131e Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..cd3bec2 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/runtime.nib new file mode 100644 index 0000000..e95c8a6 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..bbf285e Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/runtime.nib new file mode 100644 index 0000000..1ae0eeb Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..f1330b0 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/runtime.nib new file mode 100644 index 0000000..7a80f82 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..a9373b4 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..787b2fb Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..e66cd3d Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..f9f742f Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..ffe962f Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..2b991b8 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..9a67579 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..08e8fc3 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/en.lproj/Localizable.strings b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/en.lproj/Localizable.strings new file mode 100644 index 0000000..7878a61 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/en.lproj/Localizable.strings differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/ja.lproj/Localizable.strings b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/ja.lproj/Localizable.strings new file mode 100644 index 0000000..84b43a7 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/ja.lproj/Localizable.strings differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro.js b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro.js new file mode 100644 index 0000000..5525e12 --- /dev/null +++ b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro.js @@ -0,0 +1,45 @@ +// Generated by CoffeeScript 1.10.0 +(function() { + var repro, track; + + track = function(name, _props) { + var bridge, key, result, url, value; + if (typeof name !== 'string' || name === '') { + return; + } + name = encodeURIComponent(name); + result = ''; + if (typeof _props === 'object') { + for (key in _props) { + value = _props[key]; + result += (encodeURIComponent(key)) + "=" + (encodeURIComponent(value)) + "&"; + } + result = result.slice(0, result.length - 1); + } + if (result) { + url = 'repro://' + name + '?' + result; + } else { + url = 'repro://' + name; + } + bridge = document.getElementById('repro-insight-bridge'); + if (bridge) { + return bridge.src = url; + } else { + bridge = document.createElement('iframe'); + bridge.setAttribute('style', 'display:none;'); + bridge.setAttribute('height', '0px'); + bridge.setAttribute('width', '0px'); + bridge.setAttribute('frameborder', '0'); + bridge.setAttribute('id', 'repro-insight-bridge'); + document.documentElement.appendChild(bridge); + return bridge.src = url; + } + }; + + repro = { + track: track + }; + + window.repro = repro; + +}).call(this); diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_close_button.png b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_close_button.png index d4c1403..ca9ce03 100644 Binary files a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_close_button.png and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_close_button.png differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_logo_transparent.png b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_logo_transparent.png new file mode 100644 index 0000000..d8d92e4 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_logo_transparent.png differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_touch.png b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_touch.png new file mode 100644 index 0000000..090a2c6 Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_touch.png differ diff --git a/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_touch_landscape.png b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_touch_landscape.png new file mode 100644 index 0000000..4b5330e Binary files /dev/null and b/Repro.embeddedframework/Repro.framework/ReproSDKResources.bundle/repro_touch_landscape.png differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/Info.plist b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/Info.plist index a0a4b27..03bf99e 100644 Binary files a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/Info.plist and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/Info.plist differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..d5593a7 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..f64bcfe Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..a39cbcb Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..188a572 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRButtonCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..d519ef8 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..21c609e Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..1c350ca Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..b552089 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRChoiceCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..5fb23e4 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..9e0c145 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..573413c Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..23548d7 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRListCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/Info.plist b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/Info.plist new file mode 100644 index 0000000..907d9bc Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/Info.plist differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerLandscape.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerLandscape.nib new file mode 100644 index 0000000..3f8b99b Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerLandscape.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerPortrait.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerPortrait.nib new file mode 100644 index 0000000..9498cfe Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/RPRNotificationViewControllerPortrait.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/oKx-jP-mhN-view-cDr-1k-YIa.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/oKx-jP-mhN-view-cDr-1k-YIa.nib new file mode 100644 index 0000000..d820930 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/oKx-jP-mhN-view-cDr-1k-YIa.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/puo-Hy-QiQ-view-Wch-Xc-Avw.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/puo-Hy-QiQ-view-Wch-Xc-Avw.nib new file mode 100644 index 0000000..a3e1ac4 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRNotification.storyboardc/puo-Hy-QiQ-view-Wch-Xc-Avw.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..55b389b Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/runtime.nib new file mode 100644 index 0000000..727131e Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..cd3bec2 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/runtime.nib new file mode 100644 index 0000000..e95c8a6 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestGuideViewController~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..bbf285e Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/runtime.nib new file mode 100644 index 0000000..1ae0eeb Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..f1330b0 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/runtime.nib new file mode 100644 index 0000000..7a80f82 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTestSubmitViewController~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..a9373b4 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..787b2fb Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..e66cd3d Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..f9f742f Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/objects-8.0+.nib new file mode 100644 index 0000000..ffe962f Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/runtime.nib new file mode 100644 index 0000000..2b991b8 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~ipad.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/objects-8.0+.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/objects-8.0+.nib new file mode 100644 index 0000000..9a67579 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/objects-8.0+.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/runtime.nib b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/runtime.nib new file mode 100644 index 0000000..08e8fc3 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/RPRTextFieldCell~iphone.nib/runtime.nib differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/en.lproj/Localizable.strings b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/en.lproj/Localizable.strings new file mode 100644 index 0000000..7878a61 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/en.lproj/Localizable.strings differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/ja.lproj/Localizable.strings b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/ja.lproj/Localizable.strings new file mode 100644 index 0000000..84b43a7 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/ja.lproj/Localizable.strings differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro.js b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro.js new file mode 100644 index 0000000..5525e12 --- /dev/null +++ b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro.js @@ -0,0 +1,45 @@ +// Generated by CoffeeScript 1.10.0 +(function() { + var repro, track; + + track = function(name, _props) { + var bridge, key, result, url, value; + if (typeof name !== 'string' || name === '') { + return; + } + name = encodeURIComponent(name); + result = ''; + if (typeof _props === 'object') { + for (key in _props) { + value = _props[key]; + result += (encodeURIComponent(key)) + "=" + (encodeURIComponent(value)) + "&"; + } + result = result.slice(0, result.length - 1); + } + if (result) { + url = 'repro://' + name + '?' + result; + } else { + url = 'repro://' + name; + } + bridge = document.getElementById('repro-insight-bridge'); + if (bridge) { + return bridge.src = url; + } else { + bridge = document.createElement('iframe'); + bridge.setAttribute('style', 'display:none;'); + bridge.setAttribute('height', '0px'); + bridge.setAttribute('width', '0px'); + bridge.setAttribute('frameborder', '0'); + bridge.setAttribute('id', 'repro-insight-bridge'); + document.documentElement.appendChild(bridge); + return bridge.src = url; + } + }; + + repro = { + track: track + }; + + window.repro = repro; + +}).call(this); diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_close_button.png b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_close_button.png index d4c1403..ca9ce03 100644 Binary files a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_close_button.png and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_close_button.png differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_logo_transparent.png b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_logo_transparent.png new file mode 100644 index 0000000..d8d92e4 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_logo_transparent.png differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_touch.png b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_touch.png new file mode 100644 index 0000000..090a2c6 Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_touch.png differ diff --git a/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_touch_landscape.png b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_touch_landscape.png new file mode 100644 index 0000000..4b5330e Binary files /dev/null and b/Repro.embeddedframework/Resources/ReproSDKResources.bundle/repro_touch_landscape.png differ diff --git a/cpp/ReproCpp.h b/cpp/ReproCpp.h new file mode 100644 index 0000000..c07fcee --- /dev/null +++ b/cpp/ReproCpp.h @@ -0,0 +1,54 @@ +// +// ReproCpp.h +// +// Created by jollyjoester_pro on 10/31/14. +// Copyright (c) 2014 Repro Inc. All rights reserved. +// + +#ifndef __REPRO_CPP_H__ +#define __REPRO_CPP_H__ + +#include +#include + +using std::string; +using std::map; + +class ReproCpp { + +public: + + // Setup + static void setup(const char* token); + + // Log Level + static void setLogLevel(const char* logLevel); + + // Screen Recording + static void startRecording(); + static void stopRecording(); + static void pauseRecording(); + static void resumeRecording(); + + // UIView Masking + static void maskWithRect(float x, float y, float width, float height, const char* key); + static void unmaskWithRect(const char* key); + + // User Profile + static void setUserID(const char* userId); + static void setUserProfile(const char* key, const char* value); + static void setUserProfile(const std::map &profile); + + // Event Tracking + static void track(const char*eventName); + static void trackWithProperties(const char* eventName, const char* jsonDictionary); + + // Crash Reporting + static void enableCrashReporting(); + + // In App Message + static void disableInAppMessageOnActive(); + static void showInAppMessage(); +}; + +#endif diff --git a/cpp/ReproCpp.mm b/cpp/ReproCpp.mm new file mode 100644 index 0000000..8b60375 --- /dev/null +++ b/cpp/ReproCpp.mm @@ -0,0 +1,109 @@ +// +// ReproCpp.mm +// +// Created by jollyjoester_pro on 10/31/14. +// Copyright (c) 2014 Repro Inc. All rights reserved. +// + +#include "ReproCpp.h" +#import + +static NSString* convertCStringToNSString(const char* string) { + if (string) { + return [NSString stringWithUTF8String:string]; + } else { + return @""; + } +} + +static NSDictionary* convertCStringJSONToNSDictionary(const char* string) { + if (string) { + NSString* json = convertCStringToNSString(string); + NSData* data = [json dataUsingEncoding:NSUTF8StringEncoding]; + return [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:nil]; + } else { + return nil; + } +} + +void ReproCpp::setup(const char* token) { + [Repro setup:convertCStringToNSString(token)]; +} + +void ReproCpp::setLogLevel(const char* logLevel) { + if ([convertCStringToNSString(logLevel) isEqualToString:@"Debug"]) { + [Repro setLogLevel:RPRLogLevelDebug]; + } else if ([convertCStringToNSString(logLevel) isEqualToString:@"Info"]) { + [Repro setLogLevel:RPRLogLevelInfo]; + } else if ([convertCStringToNSString(logLevel) isEqualToString:@"Warn"]) { + [Repro setLogLevel:RPRLogLevelWarn]; + } else if ([convertCStringToNSString(logLevel) isEqualToString:@"Error"]) { + [Repro setLogLevel:RPRLogLevelError]; + } else if ([convertCStringToNSString(logLevel) isEqualToString:@"None"]) { + [Repro setLogLevel:RPRLogLevelNone]; + } +} + +void ReproCpp::startRecording() { + [Repro startRecording]; +} + +void ReproCpp::stopRecording() { + [Repro stopRecording]; +} + +void ReproCpp::pauseRecording() { + [Repro pauseRecording]; +} + +void ReproCpp::resumeRecording() { + [Repro resumeRecording]; +} + +void ReproCpp::maskWithRect(float x, float y, float width, float height, const char* key) { + [Repro maskWithRect:CGRectMake(x,y,width,height) key:convertCStringToNSString(key)]; +} + +void ReproCpp::unmaskWithRect(const char* key) { + [Repro unmaskForKey:convertCStringToNSString(key)]; +} + +void ReproCpp::setUserID(const char* userId) { + [Repro setUserID:convertCStringToNSString(userId)]; +} + +void ReproCpp::setUserProfile(const char* key, const char* value) { + [Repro setUserProfile:convertCStringToNSString(value) forKey:convertCStringToNSString(key)]; +} + +void ReproCpp::setUserProfile(const std::map &profile) { + std::map::const_iterator iter; + NSMutableDictionary *dict = [[NSMutableDictionary alloc] init]; + for (iter = profile.begin(); iter != profile.end(); iter++) { + NSString *key = [NSString stringWithUTF8String:iter->first.c_str()]; + NSString *value = [NSString stringWithUTF8String:iter->second.c_str()]; + dict[key] = value; + } + [Repro setUserProfile:[NSDictionary dictionaryWithDictionary:dict]]; +} + +void ReproCpp::track(const char* eventName) { + [Repro track:convertCStringToNSString(eventName) properties:nil]; +} + +void ReproCpp::trackWithProperties(const char* eventName, const char* jsonDictionary) { + [Repro track:convertCStringToNSString(eventName) properties:convertCStringJSONToNSDictionary(jsonDictionary)]; +} + +void ReproCpp::enableCrashReporting() { + [Repro enableCrashReporting]; +} + +// In App Message +void ReproCpp::disableInAppMessageOnActive() { + [Repro disableInAppMessageOnActive]; +} + +void ReproCpp::showInAppMessage() { + [Repro showInAppMessage]; +}