Skip to content

Commit

Permalink
V2.5.0 (#167)
Browse files Browse the repository at this point in the history
- Updated podspec

- Example projects updated

- Build artifacts updated
Project updated with new artifcats

Changelog updated
  • Loading branch information
ketanhaptik authored May 18, 2020
2 parents 32e334c + 301e8d1 commit c68dca4
Show file tree
Hide file tree
Showing 59 changed files with 9,926 additions and 4,812 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,31 @@

This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.5.0] - (09/04/20) - K iOS

### Features
- Document upload in chat supported
- Added restriction to enable camera only option
- Added Forms as a HSL Smart Action

### Enhancements
- Added UI Tests for Task Box in Haptik Demo
- Added UI Tests for Quick Reply in Haptik Demo
- Handled Reachability edge cases
- Removed Core-Data warnings

### Bugs
- Fixes sent form being display on successive launch
- Fixes contact picker field crash on simulators
- Lightweight migrations fixed
- Fixes Multithread violations

### Changed
- Default carousel width to medium
- Forms removed form sync

---

## [2.4.2] - (09/04/20) - F iOS

### Features
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BCSymbolMap Version: 2.0
Apple clang version 11.0.3 (clang-1103.0.32.29)
/Users/iamsimranjot/Desktop/BuildArtifacts/Platform_OS/Build/Intermediates.noindex/HaptikAnalytics.build/Release-iphoneos/HaptikAnalytics.build/DerivedSources/HaptikAnalytics_vers.c
/Users/iamsimranjot/Documents/Projects/haptik-ios-framework/Source Libraries/HaptikAnalytics
Apple clang version 11.0.3 (clang-1103.0.32.59)
/Users/hap/Desktop/BuildArtifacts/Platform_OS/Build/Intermediates.noindex/HaptikAnalytics.build/Release-iphoneos/HaptikAnalytics.build/DerivedSources/HaptikAnalytics_vers.c
/Users/hap/Documents/Haptik-Lib/Source Libraries/HaptikAnalytics
-[HPAnalytics setupAnalytics]
-[HPAnalytics enablePersonalization]
-[HPAnalytics optOutFromAnalytics:]
Expand Down Expand Up @@ -45,7 +45,7 @@ __OBJC_$_INSTANCE_METHODS_HPAnalytics
__OBJC_$_PROP_LIST_HPAnalytics
__OBJC_CLASS_RO_$_HPAnalytics
_OBJC_LABEL_CLASS_$
/Users/iamsimranjot/Documents/Projects/haptik-ios-framework/Source Libraries/HaptikAnalytics/HaptikAnalytics/Analytics/HPAnalytics.m
/Users/hap/Documents/Haptik-Lib/Source Libraries/HaptikAnalytics/HaptikAnalytics/Analytics/HPAnalytics.m
HaptikAnalytics/Analytics/HPAnalytics.m
+[CleverTapLocalDataStore initializeWithAccountId:]
+[CleverTapLocalDataStore initProfileCache]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BCSymbolMap Version: 2.0
Apple clang version 11.0.3 (clang-1103.0.32.29)
/Users/iamsimranjot/Desktop/BuildArtifacts/Platform_OS/Build/Intermediates.noindex/HaptikAnalytics.build/Release-iphoneos/HaptikAnalytics.build/DerivedSources/HaptikAnalytics_vers.c
/Users/iamsimranjot/Documents/Projects/haptik-ios-framework/Source Libraries/HaptikAnalytics
Apple clang version 11.0.3 (clang-1103.0.32.59)
/Users/hap/Desktop/BuildArtifacts/Platform_OS/Build/Intermediates.noindex/HaptikAnalytics.build/Release-iphoneos/HaptikAnalytics.build/DerivedSources/HaptikAnalytics_vers.c
/Users/hap/Documents/Haptik-Lib/Source Libraries/HaptikAnalytics
-[HPAnalytics setupAnalytics]
-[HPAnalytics enablePersonalization]
-[HPAnalytics optOutFromAnalytics:]
Expand Down Expand Up @@ -45,7 +45,7 @@ __OBJC_$_INSTANCE_METHODS_HPAnalytics
__OBJC_$_PROP_LIST_HPAnalytics
__OBJC_CLASS_RO_$_HPAnalytics
_OBJC_LABEL_CLASS_$
/Users/iamsimranjot/Documents/Projects/haptik-ios-framework/Source Libraries/HaptikAnalytics/HaptikAnalytics/Analytics/HPAnalytics.m
/Users/hap/Documents/Haptik-Lib/Source Libraries/HaptikAnalytics/HaptikAnalytics/Analytics/HPAnalytics.m
HaptikAnalytics/Analytics/HPAnalytics.m
+[CleverTapLocalDataStore initializeWithAccountId:]
+[CleverTapLocalDataStore initProfileCache]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>2.4.2</string>
<string>2.5.0</string>
<key>CFBundleVersion</key>
<string>30</string>
<string>33</string>
</dict>
</plist>
Git LFS file not shown
Git LFS file not shown
Binary file modified Frameworks/Analytics/HaptikAnalytics.framework/Info.plist
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Frameworks/Base/HaptikBase.framework.dSYM/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>2.4.2</string>
<string>2.5.0</string>
<key>CFBundleVersion</key>
<string>55</string>
<string>58</string>
</dict>
</plist>
Binary file not shown.
Binary file modified Frameworks/Base/HaptikBase.framework/HaptikBase
Binary file not shown.
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 */
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
Loading

0 comments on commit c68dca4

Please sign in to comment.