diff --git a/CheckoutExampleObjC/CheckoutExampleObjC.xcodeproj/project.pbxproj b/CheckoutExampleObjC/CheckoutExampleObjC.xcodeproj/project.pbxproj index f95751e..6c68f6f 100644 --- a/CheckoutExampleObjC/CheckoutExampleObjC.xcodeproj/project.pbxproj +++ b/CheckoutExampleObjC/CheckoutExampleObjC.xcodeproj/project.pbxproj @@ -14,8 +14,8 @@ 7E7826841CD902180008C69A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7E7826831CD902180008C69A /* Assets.xcassets */; }; 7E7826871CD902180008C69A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7E7826851CD902180008C69A /* LaunchScreen.storyboard */; }; 7E7826981CD926830008C69A /* CheckoutViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E7826971CD926830008C69A /* CheckoutViewController.m */; }; - ACFE764B25CA815400825D2C /* KountDataCollector.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = ACFE763E25CA805400825D2C /* KountDataCollector.xcframework */; }; - ACFE764C25CA815400825D2C /* KountDataCollector.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = ACFE763E25CA805400825D2C /* KountDataCollector.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + AC9AD78125E7934A008E7B24 /* KountDataCollector.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC9AD77D25E7932B008E7B24 /* KountDataCollector.xcframework */; }; + AC9AD78225E7934A008E7B24 /* KountDataCollector.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = AC9AD77D25E7932B008E7B24 /* KountDataCollector.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; ACFE766F25CAB95B00825D2C /* CustomWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = ACFE766925CAB95B00825D2C /* CustomWindow.m */; }; ACFE767025CAB95B00825D2C /* UIViewController+TouchControl.m in Sources */ = {isa = PBXBuildFile; fileRef = ACFE766A25CAB95B00825D2C /* UIViewController+TouchControl.m */; }; ACFE767125CAB95B00825D2C /* UIControl+CustomControl.m in Sources */ = {isa = PBXBuildFile; fileRef = ACFE766E25CAB95B00825D2C /* UIControl+CustomControl.m */; }; @@ -28,7 +28,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - ACFE764C25CA815400825D2C /* KountDataCollector.xcframework in Embed Frameworks */, + AC9AD78225E7934A008E7B24 /* KountDataCollector.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -48,7 +48,7 @@ 7E7826881CD902180008C69A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 7E7826961CD926830008C69A /* CheckoutViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CheckoutViewController.h; sourceTree = ""; }; 7E7826971CD926830008C69A /* CheckoutViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CheckoutViewController.m; sourceTree = ""; }; - ACFE763E25CA805400825D2C /* KountDataCollector.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = KountDataCollector.xcframework; path = ../KountDataCollector.xcframework; sourceTree = ""; }; + AC9AD77D25E7932B008E7B24 /* KountDataCollector.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = KountDataCollector.xcframework; path = ../KountDataCollector.xcframework; sourceTree = ""; }; ACFE766925CAB95B00825D2C /* CustomWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CustomWindow.m; sourceTree = ""; }; ACFE766A25CAB95B00825D2C /* UIViewController+TouchControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+TouchControl.m"; sourceTree = ""; }; ACFE766B25CAB95B00825D2C /* UIControl+CustomControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIControl+CustomControl.h"; sourceTree = ""; }; @@ -62,7 +62,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - ACFE764B25CA815400825D2C /* KountDataCollector.xcframework in Frameworks */, + AC9AD78125E7934A008E7B24 /* KountDataCollector.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -72,7 +72,7 @@ 7E78266B1CD902180008C69A = { isa = PBXGroup; children = ( - ACFE763E25CA805400825D2C /* KountDataCollector.xcframework */, + AC9AD77D25E7932B008E7B24 /* KountDataCollector.xcframework */, 7E7826761CD902180008C69A /* CheckoutExampleObjC */, 7E7826751CD902180008C69A /* Products */, ); diff --git a/CheckoutExampleSwift/CheckoutExampleSwift.xcodeproj/project.pbxproj b/CheckoutExampleSwift/CheckoutExampleSwift.xcodeproj/project.pbxproj index bfa7f61..e6d0f0c 100644 --- a/CheckoutExampleSwift/CheckoutExampleSwift.xcodeproj/project.pbxproj +++ b/CheckoutExampleSwift/CheckoutExampleSwift.xcodeproj/project.pbxproj @@ -13,8 +13,8 @@ 7E7826AD1CDA4D120008C69A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7E7826AC1CDA4D120008C69A /* Assets.xcassets */; }; 7E7826B01CDA4D120008C69A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7E7826AE1CDA4D120008C69A /* LaunchScreen.storyboard */; }; 7E7826B81CDA4DD30008C69A /* CheckoutViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E7826B71CDA4DD30008C69A /* CheckoutViewController.swift */; }; - ACFE764E25CA815A00825D2C /* KountDataCollector.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = ACFE763D25CA804300825D2C /* KountDataCollector.xcframework */; }; - ACFE764F25CA815A00825D2C /* KountDataCollector.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = ACFE763D25CA804300825D2C /* KountDataCollector.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + AC9AD77F25E79340008E7B24 /* KountDataCollector.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC9AD77C25E7931A008E7B24 /* KountDataCollector.xcframework */; }; + AC9AD78025E79340008E7B24 /* KountDataCollector.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = AC9AD77C25E7931A008E7B24 /* KountDataCollector.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; ACFE766525CAB93700825D2C /* CustomWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = ACFE765F25CAB93700825D2C /* CustomWindow.m */; }; ACFE766625CAB93700825D2C /* UIViewController+TouchControl.m in Sources */ = {isa = PBXBuildFile; fileRef = ACFE766025CAB93700825D2C /* UIViewController+TouchControl.m */; }; ACFE766725CAB93700825D2C /* UIControl+CustomControl.m in Sources */ = {isa = PBXBuildFile; fileRef = ACFE766425CAB93700825D2C /* UIControl+CustomControl.m */; }; @@ -27,7 +27,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - ACFE764F25CA815A00825D2C /* KountDataCollector.xcframework in Embed Frameworks */, + AC9AD78025E79340008E7B24 /* KountDataCollector.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -44,7 +44,7 @@ 7E7826B11CDA4D120008C69A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 7E7826B71CDA4DD30008C69A /* CheckoutViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CheckoutViewController.swift; sourceTree = ""; }; 7E7826BC1CDA50290008C69A /* CheckoutExampleSwift-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "CheckoutExampleSwift-Bridging-Header.h"; path = "CheckoutExampleSwift/CheckoutExampleSwift-Bridging-Header.h"; sourceTree = ""; }; - ACFE763D25CA804300825D2C /* KountDataCollector.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = KountDataCollector.xcframework; path = ../KountDataCollector.xcframework; sourceTree = ""; }; + AC9AD77C25E7931A008E7B24 /* KountDataCollector.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = KountDataCollector.xcframework; path = ../KountDataCollector.xcframework; sourceTree = ""; }; ACFE765F25CAB93700825D2C /* CustomWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CustomWindow.m; sourceTree = ""; }; ACFE766025CAB93700825D2C /* UIViewController+TouchControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+TouchControl.m"; sourceTree = ""; }; ACFE766125CAB93700825D2C /* UIControl+CustomControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIControl+CustomControl.h"; sourceTree = ""; }; @@ -58,7 +58,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - ACFE764E25CA815A00825D2C /* KountDataCollector.xcframework in Frameworks */, + AC9AD77F25E79340008E7B24 /* KountDataCollector.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -68,7 +68,7 @@ 7E7826991CDA4D120008C69A = { isa = PBXGroup; children = ( - ACFE763D25CA804300825D2C /* KountDataCollector.xcframework */, + AC9AD77C25E7931A008E7B24 /* KountDataCollector.xcframework */, 7E7826BC1CDA50290008C69A /* CheckoutExampleSwift-Bridging-Header.h */, 7E7826A41CDA4D120008C69A /* CheckoutExampleSwift */, 7E7826A31CDA4D120008C69A /* Products */, diff --git a/KountDataCollector.xcframework/ios-arm64_armv7/libKountDataCollector.a b/KountDataCollector.xcframework/ios-arm64_armv7/libKountDataCollector.a index 13c2a19..886ac3d 100644 Binary files a/KountDataCollector.xcframework/ios-arm64_armv7/libKountDataCollector.a and b/KountDataCollector.xcframework/ios-arm64_armv7/libKountDataCollector.a differ diff --git a/KountDataCollector.xcframework/ios-arm64_x86_64-simulator/libKountDataCollector.a b/KountDataCollector.xcframework/ios-arm64_x86_64-simulator/libKountDataCollector.a index 6e57781..0e51314 100644 Binary files a/KountDataCollector.xcframework/ios-arm64_x86_64-simulator/libKountDataCollector.a and b/KountDataCollector.xcframework/ios-arm64_x86_64-simulator/libKountDataCollector.a differ diff --git a/KountDataCollectorUnivesalLibrary/KountAnalyticsViewController.h b/KountDataCollectorUnivesalLibrary/KountAnalyticsViewController.h index b602c02..48e6824 100644 --- a/KountDataCollectorUnivesalLibrary/KountAnalyticsViewController.h +++ b/KountDataCollectorUnivesalLibrary/KountAnalyticsViewController.h @@ -13,10 +13,13 @@ NS_ASSUME_NONNULL_BEGIN -@interface KountAnalyticsViewController : UIViewController { +@interface KountAnalyticsViewController : UIViewController { } ++ (id)sharedInstance; ++ (void)setColorWellButtonType; +- (NSString *)getColorWellButtonType; + (NSString *)getAppSessionID; - (BOOL)checkIsDeviceJailbroken; - (void)appear; @@ -27,6 +30,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)msDifferenceBetweenCharacter; - (void)allMsDifferenceBetweenKeys; - (void)assignInputData; +- (void)deviceDidRotate:(NSNotification *)notification; - (void)collectBatteryData; - (void)getBatteryState; - (void)getBatteryLevel; @@ -35,16 +39,19 @@ NS_ASSUME_NONNULL_BEGIN - (void)didChangeBatteryLevel:(NSNotification *)notification; - (void)didChangePowerMode:(NSNotification *)notification; - (void)assignBatteryData; -- (void)update; -- (void)collect:(NSString *)sessionID analyticsSwitch:(BOOL)analyticsData completion:(nullable void (^)(NSString *_Nonnull sessionID, NSError *_Nullable error))completionBlock; +- (void)getDeviceOrientationData; +- (void)collectDeviceOrientationData; +- (void)assignDeviceOrientationData; +- (void)checkForDeviceMotion; +- (void)collect:(NSString *)sessionID analyticsSwitch:(BOOL)analyticsData completion:(nullable void (^)(NSString *_Nonnull sessionID, BOOL success, NSError *_Nullable error))completionBlock; - (NSString *)getSessionID; - (void)createJsonObjectFormat; - (void)storeLogInEvents:(BOOL)logInStatus; - (void)assignFormData; -- (void)storeButtonEvents:(UIView *)myView touchesOnButton:(UITouch *)touches; - (void)setEnvironmentForAnalytics:(KEnvironment)env; - (void)registerBackgroundTask; - (void)appInBackground; + @end NS_ASSUME_NONNULL_END diff --git a/KountDataCollectorUnivesalLibrary/libKountDataCollector.a b/KountDataCollectorUnivesalLibrary/libKountDataCollector.a index c03b1c7..5cb24c3 100644 Binary files a/KountDataCollectorUnivesalLibrary/libKountDataCollector.a and b/KountDataCollectorUnivesalLibrary/libKountDataCollector.a differ