Skip to content

Commit 51b2204

Browse files
authored
Merge pull request #384 from Countly/sdk26_1_0
New major 26.1.0
2 parents e4654e9 + 2cc790d commit 51b2204

14 files changed

Lines changed: 42 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,35 @@
1-
## XX.XX.XX
1+
## 26.1.0
2+
* Added server-side listing filters support for controlling what data gets recorded:
3+
* Event filters (blacklist/whitelist) to control which events are recorded
4+
* User property filters (blacklist/whitelist) to control which user properties are recorded
5+
* Custom event segmentation filters to control which segmentation keys are recorded across all events
6+
* Custom event-specific segmentation filters to control segmentation keys per custom event
7+
* User property cache limit to limit the number of user properties recorded per request (Android and iOS)
8+
* Added journey trigger events that automatically refresh content zones when journey trigger events are recorded.
29
* Added Content feature method `previewContent(String contentId)` (Experimental!).
310
* Added a new config option disableViewRestartForManualRecording to disable auto close/restart behavior of manual views on app background/foreground actions.
411
* Added a new config option "setWebviewDisplayOption: WebViewDisplayOption" to control how Content and Feedback Widgets are presented.
512
* IMMERSIVE mode (default): Full-screen display (except cutouts).
613
* SAFE_AREA mode: Omits status bar, navigation bar and cutouts when displaying WebView.
714
* Added "setRequestTimeoutDuration(requestTimeoutDuration)" init config method to change request timeout duration in seconds.
815
* Added setting custom network request headers support for web platform.
16+
* Improved content display and refresh mechanics, including robust resource loading checks before displaying content.
17+
* Improved feedbacks response validation and added POST method support for contents in iOS.
18+
* Improved consent requirements and location info management when updated from server configuration in iOS.
19+
* Added support for Feedback Widget resizing logic (will need server update to benefit) in Web.
20+
* Added filtering capability to content interface through enterContentZone(contentFilterCallback) in Web.
21+
* Improved user property recording order with respect to sessions and events in Web.
22+
* Improved device metric detection capabilities and testing consistency of queuing system in Web.
23+
24+
* Mitigated an issue where closing surveys presented via journeys was triggering an exception in Android.
25+
* Mitigated an issue where opening a new activity while content was loading could hide it in Android.
26+
* Mitigated an issue about early health check requests in temporary ID mode in iOS.
27+
* Mitigated issues in iOS where multiple contents could be displayed in parallel and when returning from external content links.
28+
* Mitigated an issue where an unintended URL was opened when closing a feedback widget after a content block was closed in Web.
29+
30+
* Updated underlying Android SDK version to 26.1.1
31+
* Updated underlying iOS SDK version is 26.1.1
32+
* Updated underlying Web SDK version is 26.1.1
933

1034
## 25.4.4
1135
* Mitigated an issue in iOS class paths.

android/build.gradle

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

4141
dependencies {
42-
implementation 'ly.count.android:sdk:25.4.8'
42+
implementation 'ly.count.android:sdk:26.1.1'
4343
implementation 'com.google.firebase:firebase-messaging:24.0.3'
4444
}

android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
*/
6969
public class CountlyFlutterPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware, DefaultLifecycleObserver {
7070
private static final String TAG = "CountlyFlutterPlugin";
71-
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "25.4.4";
71+
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "26.1.0";
7272
private final String COUNTLY_FLUTTER_SDK_NAME = "dart-flutterb-android";
7373
private final String COUNTLY_FLUTTER_SDK_NAME_NO_PUSH = "dart-flutterbnp-android";
7474

example/integration_test/networking_tests/addCustomNetworkRequestHeaders_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void main() {
2020
List<HttpHeaders> headersArray = <HttpHeaders>[];
2121
createServer(
2222
<Map<String, List<String>>>[],
23-
customHandler: (req, res) async {
23+
customHandler: (req, queryParams, res) async {
2424
// Print request headers for debugging
2525
headersArray.add(req.headers);
2626
},

example/integration_test/networking_tests/request_timeout_duration_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'package:countly_flutter/countly_flutter.dart';
22
import 'package:flutter_test/flutter_test.dart';
33
import 'package:integration_test/integration_test.dart';
44
import '../utils.dart';
5-
import '../views_tests/auto_view_flow1_test.dart';
5+
import '../views_tests/view_utils.dart';
66

77
/// Tests for the requestTimeoutDuration configuration option.
88
/// Verifies that the SDK initializes correctly with the option set

ios/Classes/CountlyFlutterPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ @interface CountlyPersistency ()
2828

2929
CLYPushTestMode const CLYPushTestModeProduction = @"CLYPushTestModeProduction";
3030

31-
NSString *const kCountlyFlutterSDKVersion = @"25.4.4";
31+
NSString *const kCountlyFlutterSDKVersion = @"26.1.0";
3232
NSString *const kCountlyFlutterSDKName = @"dart-flutterb-ios";
3333
NSString *const kCountlyFlutterSDKNameNoPush = @"dart-flutterbnp-ios";
3434

ios/Classes/countly-sdk-ios

Submodule countly-sdk-ios updated 53 files

ios/countly_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'countly_flutter'
6-
s.version = '25.4.4'
6+
s.version = '26.1.0'
77
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
88
s.homepage = 'https://github.com/Countly/countly-sdk-flutter-bridge'
99
s.social_media_url = 'https://twitter.com/gocountly'

lib/src/web/plugin_config.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class CountlyFlutterPluginConfig {
2-
static const String SDK_VERSION_STRING = '25.4.4';
2+
static const String SDK_VERSION_STRING = '26.1.0';
33
static const String SDK_NAME = 'dart-flutterb-web';
4-
static const String WEB_SDK_VERSION = '25.4.2';
4+
static const String WEB_SDK_VERSION = '26.1.1';
55
static const String WEB_SDK_URL = 'https://cdn.jsdelivr.net/npm/countly-sdk-web@$WEB_SDK_VERSION/lib/countly.min.js';
66
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: countly_flutter
22
description: Countly is an innovative, real-time, open source mobile analytics and push notifications platform.
3-
version: 25.4.4
3+
version: 26.1.0
44
homepage: https://support.count.ly/hc/en-us/articles/360037944212
55
repository: https://github.com/Countly/countly-sdk-flutter-bridge
66
issue_tracker: https://github.com/Countly/countly-sdk-flutter-bridge/issues

0 commit comments

Comments
 (0)