Skip to content

Commit 0261173

Browse files
release 0.10.20
1 parent 702476b commit 0261173

File tree

11 files changed

+123
-87
lines changed

11 files changed

+123
-87
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 0.10.20 (28/08/2024)
2+
### Bug fixes
3+
* Fixed orientations of quick reply option for RTL users in iOS.
4+
* Fixed missing underlines in phone numbers within chat messages in iOS.
5+
* Fixed missing separator line between the reply editor and footer branding view in iOS.
6+
* Fixed display of file extension and size on the chat preview screen when the file name is long in iOS.
7+
* Fixed text and image position swapping in chat messages after restoring the user in iOS.
8+
* Optimised message rendering in the chat detail view in iOS.
9+
* Fixed a rare crash linked with keychain storage component in iOS.
10+
* Fixed an occasional crash when searching for support articles in iOS.
11+
* Fixed auto-scrolling not work correctly after selecting carousel and dropdown messages in iOS.
12+
* Fixed an issue for keyboard automatically dismiss after user sent a message in non-bot conversation in iOS.
13+
* Fix for Customer chat history not getting restored above a few messages in Android.
14+
* Fix for FAQ article message is not taking up the screen space and looks squished/Compressed in Android.
15+
116
## 0.10.19 (08/08/2024)
217
### Bug fixes
318
* Fix for Window Manager Bad Token Exception when attaching pictures in Android.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ android {
3636

3737
dependencies {
3838
implementation 'com.android.support:localbroadcastmanager:28.0.0'
39-
implementation 'com.github.freshworks:freshchat-android:6.2.8'
39+
implementation 'com.github.freshworks:freshchat-android:6.2.9'
4040
}
4141

4242

android/src/main/java/com/freshchat/consumer/sdk/flutter/FreshchatSdkPlugin.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public void setBotVariables(MethodCall call) {
226226
}
227227

228228
public String sdkVersion() {
229-
return "6.2.8";
229+
return Freshchat.getSDKVersionName();
230230
}
231231

232232
public void showFAQsWithOptions(MethodCall call) {
@@ -518,7 +518,12 @@ public void handlePushNotification(MethodCall call) {
518518
try {
519519
Map pushPayload = call.argument("pushPayload");
520520
Bundle pushPayloadBundle = jsonToBundle(pushPayload);
521-
Freshchat.handleFcmMessage(context, pushPayloadBundle);
521+
new Thread(new Runnable() {
522+
@Override
523+
public void run() {
524+
Freshchat.handleFcmMessage(context, pushPayloadBundle);
525+
}
526+
}).start();
522527
} catch (Exception e) {
523528
Log.e(ERROR_TAG, e.toString());
524529
}

example/ios/Podfile.lock

Lines changed: 59 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,73 @@
11
PODS:
2-
- Firebase/CoreOnly (10.29.0):
3-
- FirebaseCore (= 10.29.0)
4-
- Firebase/Messaging (10.29.0):
2+
- Firebase/CoreOnly (11.0.0):
3+
- FirebaseCore (= 11.0.0)
4+
- Firebase/Messaging (11.0.0):
55
- Firebase/CoreOnly
6-
- FirebaseMessaging (~> 10.29.0)
7-
- firebase_core (3.3.0):
8-
- Firebase/CoreOnly (= 10.29.0)
6+
- FirebaseMessaging (~> 11.0.0)
7+
- firebase_core (3.4.0):
8+
- Firebase/CoreOnly (= 11.0.0)
99
- Flutter
10-
- firebase_messaging (15.0.4):
11-
- Firebase/Messaging (= 10.29.0)
10+
- firebase_messaging (15.1.0):
11+
- Firebase/Messaging (= 11.0.0)
1212
- firebase_core
1313
- Flutter
14-
- FirebaseCore (10.29.0):
15-
- FirebaseCoreInternal (~> 10.0)
16-
- GoogleUtilities/Environment (~> 7.12)
17-
- GoogleUtilities/Logger (~> 7.12)
18-
- FirebaseCoreInternal (10.29.0):
19-
- "GoogleUtilities/NSData+zlib (~> 7.8)"
20-
- FirebaseInstallations (10.29.0):
21-
- FirebaseCore (~> 10.0)
22-
- GoogleUtilities/Environment (~> 7.8)
23-
- GoogleUtilities/UserDefaults (~> 7.8)
24-
- PromisesObjC (~> 2.1)
25-
- FirebaseMessaging (10.29.0):
26-
- FirebaseCore (~> 10.0)
27-
- FirebaseInstallations (~> 10.0)
28-
- GoogleDataTransport (~> 9.3)
29-
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
30-
- GoogleUtilities/Environment (~> 7.8)
31-
- GoogleUtilities/Reachability (~> 7.8)
32-
- GoogleUtilities/UserDefaults (~> 7.8)
33-
- nanopb (< 2.30911.0, >= 2.30908.0)
14+
- FirebaseCore (11.0.0):
15+
- FirebaseCoreInternal (~> 11.0)
16+
- GoogleUtilities/Environment (~> 8.0)
17+
- GoogleUtilities/Logger (~> 8.0)
18+
- FirebaseCoreInternal (11.1.0):
19+
- "GoogleUtilities/NSData+zlib (~> 8.0)"
20+
- FirebaseInstallations (11.1.0):
21+
- FirebaseCore (~> 11.0)
22+
- GoogleUtilities/Environment (~> 8.0)
23+
- GoogleUtilities/UserDefaults (~> 8.0)
24+
- PromisesObjC (~> 2.4)
25+
- FirebaseMessaging (11.0.0):
26+
- FirebaseCore (~> 11.0)
27+
- FirebaseInstallations (~> 11.0)
28+
- GoogleDataTransport (~> 10.0)
29+
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
30+
- GoogleUtilities/Environment (~> 8.0)
31+
- GoogleUtilities/Reachability (~> 8.0)
32+
- GoogleUtilities/UserDefaults (~> 8.0)
33+
- nanopb (~> 3.30910.0)
3434
- Flutter (1.0.0)
35-
- freshchat_sdk (0.10.19):
35+
- freshchat_sdk (0.10.20):
3636
- Flutter
37-
- FreshchatSDK (= 6.2.3)
38-
- FreshchatSDK (6.2.3)
39-
- GoogleDataTransport (9.4.1):
40-
- GoogleUtilities/Environment (~> 7.7)
41-
- nanopb (< 2.30911.0, >= 2.30908.0)
42-
- PromisesObjC (< 3.0, >= 1.2)
43-
- GoogleUtilities/AppDelegateSwizzler (7.13.3):
37+
- FreshchatSDK (= 6.2.5)
38+
- FreshchatSDK (6.2.5)
39+
- GoogleDataTransport (10.1.0):
40+
- nanopb (~> 3.30910.0)
41+
- PromisesObjC (~> 2.4)
42+
- GoogleUtilities/AppDelegateSwizzler (8.0.2):
4443
- GoogleUtilities/Environment
4544
- GoogleUtilities/Logger
4645
- GoogleUtilities/Network
4746
- GoogleUtilities/Privacy
48-
- GoogleUtilities/Environment (7.13.3):
47+
- GoogleUtilities/Environment (8.0.2):
4948
- GoogleUtilities/Privacy
50-
- PromisesObjC (< 3.0, >= 1.2)
51-
- GoogleUtilities/Logger (7.13.3):
49+
- GoogleUtilities/Logger (8.0.2):
5250
- GoogleUtilities/Environment
5351
- GoogleUtilities/Privacy
54-
- GoogleUtilities/Network (7.13.3):
52+
- GoogleUtilities/Network (8.0.2):
5553
- GoogleUtilities/Logger
5654
- "GoogleUtilities/NSData+zlib"
5755
- GoogleUtilities/Privacy
5856
- GoogleUtilities/Reachability
59-
- "GoogleUtilities/NSData+zlib (7.13.3)":
57+
- "GoogleUtilities/NSData+zlib (8.0.2)":
6058
- GoogleUtilities/Privacy
61-
- GoogleUtilities/Privacy (7.13.3)
62-
- GoogleUtilities/Reachability (7.13.3):
59+
- GoogleUtilities/Privacy (8.0.2)
60+
- GoogleUtilities/Reachability (8.0.2):
6361
- GoogleUtilities/Logger
6462
- GoogleUtilities/Privacy
65-
- GoogleUtilities/UserDefaults (7.13.3):
63+
- GoogleUtilities/UserDefaults (8.0.2):
6664
- GoogleUtilities/Logger
6765
- GoogleUtilities/Privacy
68-
- nanopb (2.30910.0):
69-
- nanopb/decode (= 2.30910.0)
70-
- nanopb/encode (= 2.30910.0)
71-
- nanopb/decode (2.30910.0)
72-
- nanopb/encode (2.30910.0)
66+
- nanopb (3.30910.0):
67+
- nanopb/decode (= 3.30910.0)
68+
- nanopb/encode (= 3.30910.0)
69+
- nanopb/decode (3.30910.0)
70+
- nanopb/encode (3.30910.0)
7371
- PromisesObjC (2.4.0)
7472

7573
DEPENDENCIES:
@@ -102,19 +100,19 @@ EXTERNAL SOURCES:
102100
:path: ".symlinks/plugins/freshchat_sdk/ios"
103101

104102
SPEC CHECKSUMS:
105-
Firebase: cec914dab6fd7b1bd8ab56ea07ce4e03dd251c2d
106-
firebase_core: 57aeb91680e5d5e6df6b888064be7c785f146efb
107-
firebase_messaging: c862b3d2b973ecc769194dc8de09bd22c77ae757
108-
FirebaseCore: 30e9c1cbe3d38f5f5e75f48bfcea87d7c358ec16
109-
FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934
110-
FirebaseInstallations: 913cf60d0400ebd5d6b63a28b290372ab44590dd
111-
FirebaseMessaging: 7b5d8033e183ab59eb5b852a53201559e976d366
103+
Firebase: 9f574c08c2396885b5e7e100ed4293d956218af9
104+
firebase_core: ceec591a66629daaee82d3321551692c4a871493
105+
firebase_messaging: 15d8b557010f3bb7b98d0302e1c7c8fbcd244425
106+
FirebaseCore: 3cf438f431f18c12cdf2aaf64434648b63f7e383
107+
FirebaseCoreInternal: adefedc9a88dbe393c4884640a73ec9e8e790f8c
108+
FirebaseInstallations: d0a8fea5a6fa91abc661591cf57c0f0d70863e57
109+
FirebaseMessaging: d2d1d9c62c46dd2db49a952f7deb5b16ad2c9742
112110
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
113-
freshchat_sdk: 6cd1a594da822ab768611447cbba38e29848b74f
114-
FreshchatSDK: 1a5924bf3a638d2f2edf10b9129bc2c0c8074573
115-
GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a
116-
GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15
117-
nanopb: 438bc412db1928dac798aa6fd75726007be04262
111+
freshchat_sdk: 0fdc4095cba7ee17453f2162d09815e3de7103a0
112+
FreshchatSDK: 47529dfbea34f6941120d5d20c50919cf2d13244
113+
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
114+
GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d
115+
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
118116
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
119117

120118
PODFILE CHECKSUM: fdf77ff69abfe36c6574b5468dbc5c113b70a2af

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
9705A1C41CF9048500538489 /* Embed Frameworks */,
150150
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
151151
E3CFD695E37CC842D3C1EB18 /* [CP] Embed Pods Frameworks */,
152+
B55D43253AEB3D6A725F81B2 /* [CP] Copy Pods Resources */,
152153
);
153154
buildRules = (
154155
);
@@ -262,6 +263,23 @@
262263
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
263264
showEnvVarsInLog = 0;
264265
};
266+
B55D43253AEB3D6A725F81B2 /* [CP] Copy Pods Resources */ = {
267+
isa = PBXShellScriptBuildPhase;
268+
buildActionMask = 2147483647;
269+
files = (
270+
);
271+
inputFileListPaths = (
272+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
273+
);
274+
name = "[CP] Copy Pods Resources";
275+
outputFileListPaths = (
276+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
277+
);
278+
runOnlyForDeploymentPostprocessing = 0;
279+
shellPath = /bin/sh;
280+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
281+
showEnvVarsInLog = 0;
282+
};
265283
E3CFD695E37CC842D3C1EB18 /* [CP] Embed Pods Frameworks */ = {
266284
isa = PBXShellScriptBuildPhase;
267285
buildActionMask = 2147483647;

example/ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import UIKit
22
import Flutter
33
import UserNotifications
44

5-
@UIApplicationMain
5+
@main
66
@objc class AppDelegate: FlutterAppDelegate {
77
override func application(
88
_ application: UIApplication,

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class _MyAppState extends State<MyApp> {
100100
Freshchat.init(APPID, APPKEY, DOMAIN);
101101
Freshchat.linkifyWithPattern("google", "https://google.com");
102102
Freshchat.setNotificationConfig(
103-
notificationInterceptionEnabled: true,
103+
notificationInterceptionEnabled: false,
104104
largeIcon: "large_icon",
105105
smallIcon: "small_icon",
106106
);

example/pubspec.lock

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: _flutterfire_internals
8-
sha256: b1595874fbc8f7a50da90f5d8f327bb0bfd6a95dc906c390efe991540c3b54aa
8+
sha256: "9371d13b8ee442e3bfc08a24e3a1b3742c839abbfaf5eef11b79c4b862c89bf7"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "1.3.40"
11+
version: "1.3.41"
1212
async:
1313
dependency: transitive
1414
description:
@@ -77,50 +77,50 @@ packages:
7777
dependency: "direct main"
7878
description:
7979
name: firebase_core
80-
sha256: "3187f4f8e49968573fd7403011dca67ba95aae419bc0d8131500fae160d94f92"
80+
sha256: "06537da27db981947fa535bb91ca120b4e9cb59cb87278dbdde718558cafc9ff"
8181
url: "https://pub.dev"
8282
source: hosted
83-
version: "3.3.0"
83+
version: "3.4.0"
8484
firebase_core_platform_interface:
8585
dependency: transitive
8686
description:
8787
name: firebase_core_platform_interface
88-
sha256: "3c3a1e92d6f4916c32deea79c4a7587aa0e9dbbe5889c7a16afcf005a485ee02"
88+
sha256: f7d7180c7f99babd4b4c517754d41a09a4943a0f7a69b65c894ca5c68ba66315
8989
url: "https://pub.dev"
9090
source: hosted
91-
version: "5.2.0"
91+
version: "5.2.1"
9292
firebase_core_web:
9393
dependency: transitive
9494
description:
9595
name: firebase_core_web
96-
sha256: e8d1e22de72cb21cdcfc5eed7acddab3e99cd83f3b317f54f7a96c32f25fd11e
96+
sha256: "362e52457ed2b7b180964769c1e04d1e0ea0259fdf7025fdfedd019d4ae2bd88"
9797
url: "https://pub.dev"
9898
source: hosted
99-
version: "2.17.4"
99+
version: "2.17.5"
100100
firebase_messaging:
101101
dependency: "direct main"
102102
description:
103103
name: firebase_messaging
104-
sha256: "1b0a4f9ecbaf9007771bac152afad738ddfacc4b8431a7591c00829480d99553"
104+
sha256: "29941ba5a3204d80656c0e52103369aa9a53edfd9ceae05a2bb3376f24fda453"
105105
url: "https://pub.dev"
106106
source: hosted
107-
version: "15.0.4"
107+
version: "15.1.0"
108108
firebase_messaging_platform_interface:
109109
dependency: transitive
110110
description:
111111
name: firebase_messaging_platform_interface
112-
sha256: c5a6443e66ae064fe186901d740ee7ce648ca2a6fd0484b8c5e963849ac0fc28
112+
sha256: "26c5370d3a79b15c8032724a68a4741e28f63e1f1a45699c4f0a8ae740aadd72"
113113
url: "https://pub.dev"
114114
source: hosted
115-
version: "4.5.42"
115+
version: "4.5.43"
116116
firebase_messaging_web:
117117
dependency: transitive
118118
description:
119119
name: firebase_messaging_web
120-
sha256: "232ef63b986467ae5b5577a09c2502b26e2e2aebab5b85e6c966a5ca9b038b89"
120+
sha256: "58276cd5d9e22a9320ef9e5bc358628920f770f93c91221f8b638e8346ed5df4"
121121
url: "https://pub.dev"
122122
source: hosted
123-
version: "3.8.12"
123+
version: "3.8.13"
124124
flutter:
125125
dependency: "direct main"
126126
description: flutter
@@ -142,7 +142,7 @@ packages:
142142
path: ".."
143143
relative: true
144144
source: path
145-
version: "0.10.19"
145+
version: "0.10.20"
146146
leak_tracker:
147147
dependency: transitive
148148
description:

ios/freshchat_sdk.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'freshchat_sdk'
7-
s.version = '0.10.19'
7+
s.version = '0.10.20'
88
s.summary = 'Freshchat Flutter SDK - iOS'
99
s.description = <<-DESC
1010
Freshchat Flutter SDK - iOS.
1111
DESC
1212
s.homepage = 'http://freshworks.com'
1313
s.license = { :file => '../LICENSE' }
14-
s.author = { 'Freshworks' => 'rohit.ramkumar@freshworks.com' }
14+
s.author = { 'Freshworks' => 'support@freshchat.com' }
1515
s.source = { :path => '.' }
1616
s.source_files = 'Classes/**/*'
1717
s.public_header_files = 'Classes/**/*.h'
1818
s.dependency 'Flutter'
1919
s.platform = :ios
20-
s.dependency "FreshchatSDK", '6.2.3'
20+
s.dependency "FreshchatSDK", '6.2.5'
2121

2222
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2323
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }

lib/freshchat_sdk.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class Freshchat {
229229
final String sdkVersion = await _channel.invokeMethod('getSdkVersion');
230230
final String operatingSystem = Platform.operatingSystem;
231231
// As there is no simple way to get current freshchat flutter sdk version, we are hardcoding here.
232-
final String allSdkVersion = "flutter-0.10.19-$operatingSystem-$sdkVersion ";
232+
final String allSdkVersion = "flutter-0.10.20-$operatingSystem-$sdkVersion ";
233233
return allSdkVersion;
234234
}
235235

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Freshchat is a modern messaging software for sales and customer eng
33
repository: https://github.com/freshworks/freshchat-flutter-sdk
44

55
# Whenever this version is updated, it must also be updated in Freshchat::getSdkVersion()
6-
version: 0.10.19
6+
version: 0.10.20
77
homepage: https://www.freshworks.com/
88

99
environment:
10-
sdk: '>=2.12.0 <3.0.0'
10+
sdk: '>=2.12.0 <4.0.0'
1111
flutter: ">=1.10.0"
1212

1313
dependencies:

0 commit comments

Comments
 (0)