Skip to content

Commit

Permalink
0.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh-Rajamoorthy-1008439 committed Oct 20, 2022
1 parent 8abcc65 commit bc1f875
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.9.9 (20/10/2022)

### Features
* Bot will now be able to validate text in Mobile number, Email-ID and Number input types from customer in the conversation.
* Customer can upload file for bot flows and attachment option.

### Bug fixes
* Better handling of HTML content in messages (iOS)
* Allow encoded strings with quick actions and replies in messages (iOS)

## 0.9.8 (31/08/2022)

### Feature
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ android {

dependencies {
implementation 'com.android.support:localbroadcastmanager:28.0.0'
implementation 'com.github.freshdesk:freshchat-android:5.1.2'
implementation 'com.github.freshworks:freshchat-android:5.3.1'
}


2 changes: 1 addition & 1 deletion ios/freshchat_sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A new flutter plugin project.
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.platform = :ios
s.dependency "FreshchatSDK", '5.2.3'
s.dependency "FreshchatSDK", '5.3.1'

# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
Expand Down
10 changes: 1 addition & 9 deletions lib/freshchat_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,35 +79,27 @@ extension getImportanceValue on Importance {
switch (this) {
case Importance.IMPORTANCE_UNSPECIFIED:
return -1000;
break;

case Importance.IMPORTANCE_NONE:
return 0;
break;

case Importance.IMPORTANCE_MIN:
return 1;
break;

case Importance.IMPORTANCE_LOW:
return 2;
break;

case Importance.IMPORTANCE_DEFAULT:
return 3;
break;

case Importance.IMPORTANCE_HIGH:
return 4;
break;

case Importance.IMPORTANCE_MAX:
return 5;
break;

default:
return 3;
break;
}
}
}
Expand Down Expand Up @@ -227,7 +219,7 @@ class Freshchat {
final String sdkVersion = await _channel.invokeMethod('getSdkVersion');
final String operatingSystem = Platform.operatingSystem;
// As there is no simple way to get current freshchat flutter sdk version, we are hardcoding here.
final String allSdkVersion = "flutter-0.9.8-$operatingSystem-$sdkVersion ";
final String allSdkVersion = "flutter-0.9.9-$operatingSystem-$sdkVersion ";
return allSdkVersion;
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Freshchat is a modern messaging software for sales and customer eng
repository: https://github.com/freshworks/freshchat-flutter-sdk

# Whenever this version is updated, it must also be updated in Freshchat::getSdkVersion()
version: 0.9.8
version: 0.9.9
homepage: https://www.freshworks.com/live-chat-software/customer-support/

environment:
Expand Down

0 comments on commit bc1f875

Please sign in to comment.