File tree 6 files changed +15
-6
lines changed
6 files changed +15
-6
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.9.0 (28/10/2021)
2
+
3
+ ### Enhancements
4
+ * Introducing self-service via bots on the SDK. Bots built using the Unified Bot Builder will now be accessible on the SDK too. Learn more about the capability [ here] ( https://support.freshchat.com/en/support/solutions/articles/50000003778-bots-on-freshdesk-messaging-mobile-sdk ) .
5
+ * Toggle in init method for show/hide notification banner when app is in foreground - iOS
6
+
1
7
## 0.8.1 (07/08/2021)
2
8
3
9
### Bug Fix
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ android {
35
35
36
36
dependencies {
37
37
implementation ' com.android.support:localbroadcastmanager:28.0.0'
38
- implementation ' com.github.freshdesk:freshchat-android:4.3.5 '
38
+ implementation ' com.github.freshdesk:freshchat-android:5.0.0 '
39
39
}
40
40
41
41
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ - (void)init:(FlutterMethodCall*)call{
33
33
freshchatConfig.gallerySelectionEnabled = [call.arguments[@" gallerySelectionEnabled" ]boolValue];
34
34
freshchatConfig.eventsUploadEnabled = [call.arguments[@" userEventsTrackingEnabled" ]boolValue];
35
35
freshchatConfig.errorLogsEnabled = [call.arguments[@" errorLogsEnabled" ]boolValue];
36
+ freshchatConfig.showNotificationBanner = [call.arguments[@" showNotificationBanneriOS" ]boolValue];
36
37
NSString * stringsBundle = call.arguments [@" stringsBundle" ];
37
38
NSString * themeName = call.arguments [@" themeName" ];
38
39
if (![themeName isEqual: [NSNull null ]]) {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ A new flutter plugin project.
17
17
s . public_header_files = 'Classes/**/*.h'
18
18
s . dependency 'Flutter'
19
19
s . platform = :ios
20
- s . dependency "FreshchatSDK" , '4.2 .0'
20
+ s . dependency "FreshchatSDK" , '5.0 .0'
21
21
22
22
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
23
23
s . pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' , 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
Original file line number Diff line number Diff line change @@ -144,7 +144,8 @@ class Freshchat {
144
144
bool userEventsTrackingEnabled = true ,
145
145
String ? stringsBundle,
146
146
String ? themeName,
147
- bool errorLogsEnabled = true }) async {
147
+ bool errorLogsEnabled = true ,
148
+ bool showNotificationBanneriOS = true }) async {
148
149
await _channel.invokeMethod ('init' , < String , dynamic > {
149
150
'appId' : appId,
150
151
'appKey' : appKey,
@@ -156,7 +157,8 @@ class Freshchat {
156
157
'userEventsTrackingEnabled' : userEventsTrackingEnabled,
157
158
'stringsBundle' : stringsBundle,
158
159
'themeName' : themeName,
159
- 'errorLogsEnabled' : errorLogsEnabled
160
+ 'errorLogsEnabled' : errorLogsEnabled,
161
+ 'showNotificationBanneriOS' : showNotificationBanneriOS
160
162
});
161
163
}
162
164
@@ -222,7 +224,7 @@ class Freshchat {
222
224
final String sdkVersion = await _channel.invokeMethod ('getSdkVersion' );
223
225
final String operatingSystem = Platform .operatingSystem;
224
226
// As there is no simple way to get current freshchat flutter sdk version, we are hardcoding here.
225
- final String allSdkVersion = "flutter-0.8.1 -$operatingSystem -$sdkVersion " ;
227
+ final String allSdkVersion = "flutter-0.9.0 -$operatingSystem -$sdkVersion " ;
226
228
return allSdkVersion;
227
229
}
228
230
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: Freshchat is a modern messaging software for sales and customer eng
3
3
repository : https://github.com/freshworks/freshchat-flutter-sdk
4
4
5
5
# Whenever this version is updated, it must also be updated in Freshchat::getSdkVersion()
6
- version : 0.8.1
6
+ version : 0.9.0
7
7
homepage : https://freshchat.com
8
8
9
9
environment :
You can’t perform that action at this time.
0 commit comments