-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated podspec - Example projects updated - Build artifacts updated Project updated with new artifcats Changelog updated
- Loading branch information
Showing
59 changed files
with
9,926 additions
and
4,812 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Frameworks/Analytics/HaptikAnalytics.framework.dSYM/Contents/Resources/DWARF/HaptikAnalytics
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
Frameworks/Analytics/HaptikAnalytics.framework/HaptikAnalytics
Git LFS file not shown
Binary file not shown.
2,082 changes: 1,715 additions & 367 deletions
2,082
...F-97AA-32FB-89E4-D1D70A1841D7.bcsymbolmap → ...7-F8E9-3792-809D-4EDF855EF92D.bcsymbolmap
Large diffs are not rendered by default.
Oops, something went wrong.
2,065 changes: 1,700 additions & 365 deletions
2,065
...4-1ABF-39F9-854F-5F0A798E8853.bcsymbolmap → ...B-A8DD-3FA8-A769-8876F67A0853.bcsymbolmap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+768 KB
(130%)
Frameworks/Base/HaptikBase.framework.dSYM/Contents/Resources/DWARF/HaptikBase
Binary file not shown.
Binary file not shown.
File renamed without changes.
30 changes: 30 additions & 0 deletions
30
Frameworks/Base/HaptikBase.framework/Headers/HPCompatibilityMacros.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// HPCompatibilityMacros.h | ||
|
||
#ifndef HPCompatibilityMacros_h | ||
#define HPCompatibilityMacros_h | ||
|
||
#ifdef API_AVAILABLE | ||
#define HP_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__) | ||
#else | ||
#define HP_API_AVAILABLE(...) | ||
#endif // API_AVAILABLE | ||
|
||
#ifdef API_UNAVAILABLE | ||
#define HP_API_UNAVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__) | ||
#else | ||
#define HP_API_UNAVAILABLE(...) | ||
#endif // API_UNAVAILABLE | ||
|
||
#if __has_warning("-Wunguarded-availability-new") | ||
#define HP_CAN_USE_AT_AVAILABLE 1 | ||
#else | ||
#define HP_CAN_USE_AT_AVAILABLE 0 | ||
#endif | ||
|
||
#if ((__IPHONE_OS_VERSION_MAX_ALLOWED && __IPHONE_OS_VERSION_MAX_ALLOWED < 100000) || (__MAC_OS_VERSION_MAX_ALLOWED && __MAC_OS_VERSION_MAX_ALLOWED < 101200) ||(__WATCH_OS_MAX_VERSION_ALLOWED && __WATCH_OS_MAX_VERSION_ALLOWED < 30000) ||(__TV_OS_MAX_VERSION_ALLOWED && __TV_OS_MAX_VERSION_ALLOWED < 100000)) | ||
#define HP_CAN_INCLUDE_SESSION_TASK_METRICS 0 | ||
#else | ||
#define HP_CAN_INCLUDE_SESSION_TASK_METRICS 1 | ||
#endif | ||
|
||
#endif /* HPCompatibilityMacros_h */ |
58 changes: 58 additions & 0 deletions
58
Frameworks/Base/HaptikBase.framework/Headers/HPCompoundReachability.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// | ||
// HPCompoundReachability.h | ||
// HaptikBase | ||
// | ||
// Created by SimranJot Singh on 27/04/20. | ||
// Copyright © 2020 Haptik. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
#import "HPNetworkReachabilityManager.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
typedef NS_ENUM(NSInteger, HPCompoundReachabilityStatus) { | ||
HPCompoundReachabilityStatusUnknown = -1, | ||
HPCompoundReachabilityStatusNotReachable = 0, | ||
HPCompoundReachabilityStatusViaWWAN = 1, | ||
HPCompoundReachabilityStatusViaWiFi = 2 | ||
}; | ||
|
||
/** | ||
* The class combines the default reachabilty and ping tests to correctly determine the actual reachablity of the device. | ||
*/ | ||
|
||
@interface HPCompoundReachability : NSObject | ||
|
||
@property (nonatomic, strong) HPNetworkReachabilityManager *localReachability; | ||
|
||
@property (nonatomic, copy) NSString *pingHost; | ||
|
||
@property (nonatomic, copy) NSString *alternativePingHost; | ||
|
||
@property (nonatomic, assign) float autoPingInterval; | ||
|
||
/// Timeout used for ping. Default is 2 seconds | ||
@property (nonatomic, assign) NSTimeInterval pingTimeout; | ||
|
||
/// Latency from latest ping result | ||
@property (nonatomic, assign) NSTimeInterval latency; | ||
|
||
+ (instancetype)shared; | ||
|
||
- (void)startMonitoring; | ||
|
||
- (void)stopMonitoring; | ||
|
||
- (BOOL)isReachable; | ||
|
||
/// Return current reachability immediately. | ||
- (HPCompoundReachabilityStatus)currentReachabilityStatus; | ||
|
||
/// Returns previous reachability status. | ||
- (HPCompoundReachabilityStatus)previousReachabilityStatus; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.