Skip to content

Commit 6794f04

Browse files
Merge pull request #161 from Kommunicate-io/release_v2.0.5
Updated the PubSpec for 2.0.5
2 parents 4d13d12 + fd22b27 commit 6794f04

File tree

8 files changed

+22
-11
lines changed

8 files changed

+22
-11
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 2.0.5
2+
### iOS
3+
- Added Business Hours feature.
4+
- Disabled conversation restart when the restart button is hidden.
5+
- Enabled form data persistence in local cache.
6+
- Fixed character limit bug in Dialogflow bot.
7+
- Resolved bug in Text Area component.
8+
### Android
9+
- Enabled form data persistence in local cache.
10+
- Added download file listner
11+
- ReDirected URL from Help center to Browser.
12+
- Fixed dialogue flow crash
13+
- Disabled conversation restart when the restart button is hidden.
114
## 2.0.4
215
- Fixed Recording button not working properly in iOS.
316
## 2.0.3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Refer to the official docs here: https://docs.kommunicate.io/docs/flutter-instal
1313
```
1414
dependencies:
1515
//other dependencies
16-
kommunicate_flutter: ^2.0.4
16+
kommunicate_flutter: ^2.0.5
1717
```
1818

1919
2. Install the package as below:

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ android {
3939

4040
dependencies {
4141
implementation fileTree(include: ['*.jar'], dir: 'libs')
42-
api 'io.kommunicate.sdk:kommunicateui:2.13.2'
42+
api 'io.kommunicate.sdk:kommunicateui:2.13.3'
4343
}

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@
225225
"${BUILT_PRODUCTS_DIR}/SwipeCellKit/SwipeCellKit.framework",
226226
"${BUILT_PRODUCTS_DIR}/iOSDropDown/iOSDropDown.framework",
227227
"${BUILT_PRODUCTS_DIR}/kommunicate_flutter/kommunicate_flutter.framework",
228-
"${PODS_XCFRAMEWORKS_BUILD_DIR}/ZendeskChatProvidersSDK/ChatProvidersSDK.framework/ChatProvidersSDK",
229228
);
230229
name = "[CP] Embed Pods Frameworks";
231230
outputPaths = (
@@ -236,7 +235,6 @@
236235
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwipeCellKit.framework",
237236
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/iOSDropDown.framework",
238237
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/kommunicate_flutter.framework",
239-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ChatProvidersSDK.framework",
240238
);
241239
runOnlyForDeploymentPostprocessing = 0;
242240
shellPath = /bin/sh;

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ packages:
8686
path: ".."
8787
relative: true
8888
source: path
89-
version: "2.0.3"
89+
version: "2.0.5"
9090
leak_tracker:
9191
dependency: transitive
9292
description:

ios/Classes/SwiftKommunicateFlutterPlugin.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public class SwiftKommunicateFlutterPlugin: NSObject, FlutterPlugin, KMPreChatFo
260260
}
261261
ALUserService().fetchAndupdateUserDetails([userId]) {
262262
userDetails, error in
263-
guard let userDetails = userDetails, let userDetail = userDetails[0] as? ALUserDetail else {
263+
guard let userDetails = userDetails, let userDetail = userDetails[0] as? KMCoreUserDetail else {
264264
self.sendErrorResultWithCallback(result: result, message: error?.localizedDescription ?? "Error while parsing the user details.")
265265
return
266266
}
@@ -656,7 +656,7 @@ public class SwiftKommunicateFlutterPlugin: NSObject, FlutterPlugin, KMPreChatFo
656656

657657
func updateUser (displayName: String?, imageLink : String?, status: String?, metadata: [String: Any]?,phoneNumber: String?,email : String?, result: FlutterResult!) {
658658

659-
let theUrlString = "\(ALUserDefaultsHandler.getBASEURL() as String)/rest/ws/user/update"
659+
let theUrlString = "\(KMCoreUserDefaultsHandler.getBASEURL() as String)/rest/ws/user/update"
660660

661661
let dictionary = NSMutableDictionary()
662662
if (displayName != nil) {
@@ -701,7 +701,7 @@ public class SwiftKommunicateFlutterPlugin: NSObject, FlutterPlugin, KMPreChatFo
701701
return
702702
}
703703
//Update the local contact
704-
let alContact = ALContactDBService().loadContact(byKey: "userId", value: ALUserDefaultsHandler.getUserId())
704+
let alContact = ALContactDBService().loadContact(byKey: "userId", value: KMCoreUserDefaultsHandler.getUserId())
705705
if alContact == nil {
706706
self.sendErrorResultWithCallback(result: result, message: "User not found")
707707
return
@@ -815,7 +815,7 @@ extension String {
815815
}
816816
}
817817

818-
extension ALUserDetail {
818+
extension KMCoreUserDetail {
819819
func toDictionary() -> [String: Any] {
820820
var dict: [String: Any] = [:]
821821
dict["userId"] = userId

ios/kommunicate_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Flutter plugin for Kommunicate live chat.
1717

1818
s.dependency 'Flutter'
1919
s.swift_version = '5.1'
20-
s.dependency 'Kommunicate', '~> 7.2.9'
20+
s.dependency 'Kommunicate', '~> 7.3.0'
2121

2222

2323
s.ios.deployment_target = '13.0'

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: kommunicate_flutter
22
description: Flexible, lightweight, and easily integrable Flutter SDK for Kommunicate AI chatbot & Live Chat.
3-
version: 2.0.4
3+
version: 2.0.5
44
homepage: https://kommunicate.io
55

66
environment:

0 commit comments

Comments
 (0)