Skip to content

Commit

Permalink
Release v2.2.0 (#156)
Browse files Browse the repository at this point in the history
* Podspec updated

* Changelog updated

* Updated Artifacts

* Updated example project
  • Loading branch information
iamsimranjot authored Jan 13, 2020
1 parent 8c5fe84 commit c69cde9
Show file tree
Hide file tree
Showing 49 changed files with 650 additions and 515 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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

## [2.2.0] - (13/01/20) - A iOS

### Features
- Enabled launch message capabilities

### Bugs

- Fixed User2 put call parsing
- Corrected message level feedback views on smaller devices
- Fixed resend message functionality
- Fixed user analytics crash

---

## [2.1.1] - (27/12/19) - C iOS

### Enhancements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
setHaptikTheme()

return true
}
}

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {

Expand All @@ -54,6 +54,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
}


//MARK: Helper Methods

extension AppDelegate {
Expand All @@ -64,7 +65,7 @@ extension AppDelegate {
if let controller = rootVC as? UINavigationController {

// You need to pass an instance of a viewController from which the user will be taken to the conversationViewController (where the user will be conversing)
// on the tap of the Notificationm
// on the tap of the Notification
Haptik.sharedSDK().didReceiveRemoteNotification(userInfo, controller: controller.visibleViewController!)

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class RootViewController: UIViewController {

// Option B

let conversation = try? Haptik.sharedSDK().getConversationFor(viaName: "channel_via_name")
let conversation = try? Haptik.sharedSDK().getConversationFor(viaName: "channel_via_name", launchMessage: "message_to_be_sent_from_user_side", hideLaunchMessage: false)
if let conversation = conversation {
present(conversation, animated: true, completion: nil)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<key>CleverTapToken</key>
<string></string>
</dict>
<key>apiKey</key>
<string>API_KEY_HERE</string>
<key>baseUrl</key>
<string>BASE_URL_HERE</string>
<key>clientID</key>
Expand Down
10 changes: 5 additions & 5 deletions Examples/Swift-Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
PODS:
- FLAnimatedImage (1.0.12)
- HaptikLib (2.1.1):
- HaptikLib/Core (= 2.1.1)
- HaptikLib/Base (2.1.1):
- HaptikLib (2.2.0):
- HaptikLib/Core (= 2.2.0)
- HaptikLib/Base (2.2.0):
- PINRemoteImage (= 3.0.0-beta.13)
- PINRemoteImage/WebP (= 3.0.0-beta.13)
- HaptikLib/Core (2.1.1):
- HaptikLib/Core (2.2.0):
- HaptikLib/Base
- libwebp (1.0.0):
- libwebp/core (= 1.0.0)
Expand Down Expand Up @@ -71,7 +71,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
HaptikLib: a6f589c38e2068cf89dc26f08ef1fdd3745b0dcb
HaptikLib: 7c97bb487cc4367ef3de74b22e23476d7e244968
libwebp: d7e0c95fe97245c97e08101eba10702ebb0f6101
PINCache: d195fdba255283f7e9900a55e3cced377f431f9b
PINOperation: a6219e6fc9db9c269eb7a7b871ac193bcf400aac
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class RootViewController: UIViewController {

// Option B

let conversation = try? Haptik.sharedSDK().getConversationFor(viaName: "channel_via_name")
let conversation = try? Haptik.sharedSDK().getConversationFor(viaName: "channel_via_name", launchMessage: "message_to_be_sent_from_user_side", hideLaunchMessage: false)
if let conversation = conversation {
present(conversation, animated: true, completion: nil)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<key>CleverTapToken</key>
<string></string>
</dict>
<key>apiKey</key>
<string>API_KEY_HERE</string>
<key>baseUrl</key>
<string>BASE_URL_HERE</string>
<key>clientID</key>
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.1.1</string>
<string>2.2.0</string>
<key>CFBundleVersion</key>
<string>13</string>
<string>17</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.
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.1.1</string>
<string>2.2.0</string>
<key>CFBundleVersion</key>
<string>38</string>
<string>42</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
Expand Up @@ -12,6 +12,8 @@
#define HPScreenWidth UIScreen.mainScreen.bounds.size.width
#define HPScreenHeight UIScreen.mainScreen.bounds.size.height

#define HPScreenPadding MIN(HPScreenWidth*0.02,8)

#pragma mark - HaptikLib Credential Keys

FOUNDATION_EXPORT NSString *const HPCredentialsDict;
Expand Down
Binary file modified Frameworks/Base/HaptikBase.framework/Info.plist
Binary file not shown.
Loading

0 comments on commit c69cde9

Please sign in to comment.