Skip to content

Commit

Permalink
update Artifacts for 2.0.0 (#152)
Browse files Browse the repository at this point in the history
* update docs

* update git lfs and artifacts

* untrack payments from git lfs

* update pod spec

* update frameworks for bitcode fix

* update changelog
  • Loading branch information
Sampras Lopes authored and iamsimranjot committed Nov 6, 2019
1 parent 04645de commit 4e88dc5
Show file tree
Hide file tree
Showing 77 changed files with 2,100 additions and 12,988 deletions.
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Frameworks/Core/HaptikLib.framework/HaptikLib filter=lfs diff=lfs merge=lfs -text
Frameworks/Core/HaptikLib.framework.dSYM/Contents/Resources/DWARF/HaptikLib filter=lfs diff=lfs merge=lfs -text
Frameworks/Core/HaptikLib.framework/Assets.car filter=lfs diff=lfs merge=lfs -text
Frameworks/Payments/HaptikPayments.framework/HaptikPayments filter=lfs diff=lfs merge=lfs -text
Frameworks/Payments/HaptikPayments.framework.dSYM/Contents/Resources/DWARF/HaptikPayments filter=lfs diff=lfs merge=lfs -text
Frameworks/Speech/HaptikSpeech.framework.dSYM/Contents/Resources/DWARF/HaptikSpeech filter=lfs diff=lfs merge=lfs -text
Frameworks/Speech/HaptikSpeech.framework/HaptikSpeech filter=lfs diff=lfs merge=lfs -text
frameworks/location/haptiklocation.framework/haptiklocation filter=lfs diff=lfs merge=lfs -text
frameworks/location/haptiklocation.framework.dsym/contents/resources/dwarf/haptiklocation filter=lfs diff=lfs merge=lfs -text
frameworks/core/haptiklocation.framework/assets.car filter=lfs diff=lfs merge=lfs -text
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,46 @@

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

## [2.0.0] - (04/11/19) - X iOS

### Features
- AutoLaunch actions of URI type `AUTOLAUNCH` are added
- Add analytics for Text to Speech and Speech to Text
- Add Support for Native TTS
- Blur the SDK screens when app goes in background
- Conversation sorting now supports offline messaging
- Add viaName extension to HPSignupObject to directly push to channel after signup

### Enhancements
- Extend language support to inbox
- TTS will only occur for text in `voice_text` parameter
- Removed guest user verification
- Removed `HaptikPayments` Support
- Removed Inbox screen
- Removed Cities related functionality
- Added Location functionality
- Update `firstResponder` handling for location search
- Allow user entered feedback comments for one star feedback
- Disable submit feedback button when the user has not entered any feedback

### Bugs
- Fix typing indicator being shown for some time after language switch
- Fix Mic turn off sound being delayed when exiting conversation screen
- User Language not synced for new signup is fixed
- Fix bug where deactivated business were still shown in inbox
- TTS reading out random messages sometimes is fixed
- Fix Crash caused when opening new channel
- fix messages dissapearing on updating sdk
- Fix previous address sent for non-hsl location smartaction
- Fix location required tasks not being logged
- Fix HSL location smartaction response not formatted properly
- Fix location pin not being overlayed on user location
- Fix bug where STT would not be interrupted on redirecting user to map picker/web view
- Fix taskbox being dismissed when showing location picker for location required tasks
- Fix navigation stack not being arranged on receiving a background notification

---

## [1.8.2] - (16/10/19) - W iOS

### Enhancements
Expand Down
52 changes: 16 additions & 36 deletions Feature Guides/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ This BOOL controls the functionality of the `EdgePanGestureRecognizer` feature o

---

## Opening Conversation View Directly

## Opening Conversation View
Once the user has been signed up, you also have the ability to open Conversation View for a specific channel directly. It needs to be Initialized with the unique business name of the channel that you wish to open Conversation for and an optional message text (can be `nil`) if you want to log any.

Example:

```
[[Haptik sharedSDK] launchChannelWith:@"INSERT_BUSINESS_VIA_NAME_HERE"
message:@"INSERT_CUSTOM_MESSAGE_TEXT_HERE"
controller:visibleViewController];
message:@"INSERT_CUSTOM_MESSAGE_TEXT_HERE"
controller:visibleViewController];
```

If you wish to push to the conversation view by yourself you can use the following API:
Expand All @@ -65,51 +64,33 @@ If you wish to push to the conversation view by yourself you can use the followi

## Unread Count

HaptikLib provides the total `unreadCount` of the chats that the user has not read.
HaptikLib provides the `unreadCount` of the chat that the user has not read.

```
- (void)getUnreadCountWithCompletion:(void(^)(NSUInteger unreadCount))completion;
- (void)getUnreadCountFor:(NSString *)viaName
WithCompletion:(void(^)(NSUInteger unreadCount, NSError * _Nullable error))completion;
```

You get the count(`NSUInteger`) in the `completion` block of the function. The completion is returned on the `mainQueue`. You can potentially use this count and add a Glyph Label on the Icon from where you are pushing the user inside **Haptik**.

Example:

```
[[Haptik sharedSDK] getUnreadCountWithCompletion:^(NSUInteger unreadCount) {
```Objc
[[Haptik sharedSDK] getUnreadCountFor:@"INSERT_BUSINESS_VIA_NAME_HERE"
WithCompletion:^(NSUInteger unreadCount, NSError * _Nullable error) {

if (error) {
NSLog(@"%@", [error localizedDescription]);
}
else {

// Use the unread count here
// Use the unread count here
}
}];
```
---
## Offers Screen

HaptikLib has another interesting thing for the users, that is an **Offers Screen**. The user can see all the **currently running offers on Haptik** on this Screen. You just have to push the user to this screen using the method mentioned below:

```
- (__kindof UIViewController *_Nullable)getOffersViewContoller;
```

Example:

```
[controller.navigationController pushViewController:[[Haptik sharedSDK] getOffersViewContoller] animated:YES];
```

You'll the the `Offers VC` by calling the above method and then push the user to it. That's it. HaptikLib is handle everything else.

**Offers Count**

You can also get the count of the current offers running on Haptik through the helper function mentioned below:

```
- (NSUInteger)getOffersCount;
```

> Note: The offers count will be available through this function only after the user has been pushed to this screen once in the lifetime.
## Localization
HaptikLib provides the option to change the language of the SDK.
Expand Down Expand Up @@ -146,4 +127,3 @@ You can change the current language of the SDK using the following method in `Ha
Also users can change the language from conversation screen. So make sure you check `HaptikConfigs.currentHaptikLocale`
---

Loading

0 comments on commit 4e88dc5

Please sign in to comment.