From c7ca57768c1f0e17c22bf1f6409ec540d4a4a362 Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray Date: Wed, 4 Dec 2024 10:43:19 +0300 Subject: [PATCH 1/5] feat: upgrade android --- android/build.gradle | 2 +- scripts/no-push-files/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 5d3995f5..0af14af0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -38,6 +38,6 @@ android { } dependencies { - implementation 'ly.count.android:sdk:24.7.6' + implementation 'ly.count.android:sdk:24.7.7' implementation 'com.google.firebase:firebase-messaging:24.0.3' } diff --git a/scripts/no-push-files/build.gradle b/scripts/no-push-files/build.gradle index d9e965ec..b3344e05 100644 --- a/scripts/no-push-files/build.gradle +++ b/scripts/no-push-files/build.gradle @@ -34,5 +34,5 @@ android { } dependencies { - implementation 'ly.count.android:sdk:24.7.6' + implementation 'ly.count.android:sdk:24.7.7' } From 476045c1b9482f7201a3b352e8008591e7bd7adb Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray Date: Wed, 4 Dec 2024 10:50:27 +0300 Subject: [PATCH 2/5] feat: upgrade versions --- CHANGELOG.md | 11 +++++++++++ .../dart/countly_flutter/CountlyFlutterPlugin.java | 2 +- example/integration_test/utils.dart | 2 +- ios/Classes/CountlyFlutterPlugin.m | 2 +- ios/Classes/CountlyiOS/CHANGELOG.md | 4 +++- ios/Classes/CountlyiOS/Countly-PL.podspec | 2 +- ios/Classes/CountlyiOS/CountlyCommon.m | 2 +- ios/countly_flutter.podspec | 2 +- pubspec.yaml | 2 +- scripts/no-push-files/countly_flutter_np.podspec | 2 +- scripts/no-push-files/pubspec.yaml | 2 +- 11 files changed, 23 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c87eb29..1d6973f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 24.11.2 +* Improved view tracking capabilities in iOS. + +* Mitigated issues where: + * On Android 35 and above, the navigation bar was overlapping with the content display in Android. + * An automatically closed autoStopped view's duration could have increased when opening new views in Android. + * A concurrent modification error could have happen when starting multiple stopped views in iOS. + +* Updated underlying Android SDK version to 24.7.7 +* Updated underlying iOS SDK version to 24.7.9 + ## 24.11.1 * Added content configuration interface that has `setGlobalContentCallback` to get notified about content changes. * Added support for localization of content blocks. diff --git a/android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java b/android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java index 654a2384..5665213f 100644 --- a/android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java +++ b/android/src/main/java/ly/count/dart/countly_flutter/CountlyFlutterPlugin.java @@ -67,7 +67,7 @@ */ public class CountlyFlutterPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware, DefaultLifecycleObserver { private static final String TAG = "CountlyFlutterPlugin"; - private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "24.11.1"; + private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "24.11.2"; private final String COUNTLY_FLUTTER_SDK_NAME = "dart-flutterb-android"; private final String COUNTLY_FLUTTER_SDK_NAME_NO_PUSH = "dart-flutterbnp-android"; diff --git a/example/integration_test/utils.dart b/example/integration_test/utils.dart index e0d41d8d..20aa845d 100644 --- a/example/integration_test/utils.dart +++ b/example/integration_test/utils.dart @@ -29,7 +29,7 @@ Future> getEventQueue() async { void testCommonRequestParams(Map> requestObject) { expect(requestObject['app_key']?[0], APP_KEY); expect(requestObject['sdk_name']?[0], "dart-flutterb-${Platform.isIOS ? "ios" : "android"}"); - expect(requestObject['sdk_version']?[0], '24.11.1'); + expect(requestObject['sdk_version']?[0], '24.11.2'); expect(requestObject['av']?[0], Platform.isIOS ? '0.0.1' : '1.0.0'); assert(requestObject['timestamp']?[0] != null); diff --git a/ios/Classes/CountlyFlutterPlugin.m b/ios/Classes/CountlyFlutterPlugin.m index 832f341f..6af301f4 100644 --- a/ios/Classes/CountlyFlutterPlugin.m +++ b/ios/Classes/CountlyFlutterPlugin.m @@ -28,7 +28,7 @@ @interface CountlyPersistency () CLYPushTestMode const CLYPushTestModeProduction = @"CLYPushTestModeProduction"; -NSString *const kCountlyFlutterSDKVersion = @"24.11.1"; +NSString *const kCountlyFlutterSDKVersion = @"24.11.2"; NSString *const kCountlyFlutterSDKName = @"dart-flutterb-ios"; NSString *const kCountlyFlutterSDKNameNoPush = @"dart-flutterbnp-ios"; diff --git a/ios/Classes/CountlyiOS/CHANGELOG.md b/ios/Classes/CountlyiOS/CHANGELOG.md index daec9b8a..e543c56f 100644 --- a/ios/Classes/CountlyiOS/CHANGELOG.md +++ b/ios/Classes/CountlyiOS/CHANGELOG.md @@ -1,9 +1,11 @@ +## 24.7.9 +* Improved view tracking capabilities + ## 24.7.8 * Added support for localization of content blocks. * Mitigated an issue where visibility could have been wrongly assigned if a view was closed while going to background. (Experimental!) * Mitigated an issue where the user provided URLSessionConfiguration was not applied to direct requests -* Mitigated an issue where a concurrent modification error could have happen when starting multiple stopped views * Mitigated an issue that parsing internal content event segmentation. ## 24.7.7 diff --git a/ios/Classes/CountlyiOS/Countly-PL.podspec b/ios/Classes/CountlyiOS/Countly-PL.podspec index 45158958..2d85adbd 100644 --- a/ios/Classes/CountlyiOS/Countly-PL.podspec +++ b/ios/Classes/CountlyiOS/Countly-PL.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Countly-PL' - s.version = '24.7.8' + s.version = '24.7.9' s.license = { :type => 'MIT', :file => 'LICENSE' } s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.' s.homepage = 'https://github.com/Countly/countly-sdk-ios' diff --git a/ios/Classes/CountlyiOS/CountlyCommon.m b/ios/Classes/CountlyiOS/CountlyCommon.m index 6ab0a594..000094f4 100644 --- a/ios/Classes/CountlyiOS/CountlyCommon.m +++ b/ios/Classes/CountlyiOS/CountlyCommon.m @@ -29,7 +29,7 @@ @interface CountlyCommon () #endif @end -NSString* const kCountlySDKVersion = @"24.7.8"; +NSString* const kCountlySDKVersion = @"24.7.9"; NSString* const kCountlySDKName = @"objc-native-ios"; NSString* const kCountlyErrorDomain = @"ly.count.ErrorDomain"; diff --git a/ios/countly_flutter.podspec b/ios/countly_flutter.podspec index 2e67815e..1549183d 100644 --- a/ios/countly_flutter.podspec +++ b/ios/countly_flutter.podspec @@ -3,7 +3,7 @@ # Pod::Spec.new do |s| s.name = 'countly_flutter' - s.version = '24.11.1' + s.version = '24.11.2' s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.' s.homepage = 'https://github.com/Countly/countly-sdk-flutter-bridge' s.social_media_url = 'https://twitter.com/gocountly' diff --git a/pubspec.yaml b/pubspec.yaml index a6b2f2a2..7dec224f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: countly_flutter description: Countly is an innovative, real-time, open source mobile analytics and push notifications platform. -version: 24.11.1 +version: 24.11.2 homepage: https://support.count.ly/hc/en-us/articles/360037944212 repository: https://github.com/Countly/countly-sdk-flutter-bridge issue_tracker: https://github.com/Countly/countly-sdk-flutter-bridge/issues diff --git a/scripts/no-push-files/countly_flutter_np.podspec b/scripts/no-push-files/countly_flutter_np.podspec index 7a3f0d25..95bd6ecc 100644 --- a/scripts/no-push-files/countly_flutter_np.podspec +++ b/scripts/no-push-files/countly_flutter_np.podspec @@ -3,7 +3,7 @@ # Pod::Spec.new do |s| s.name = 'countly_flutter_np' - s.version = '24.11.1' + s.version = '24.11.2' s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.' s.homepage = 'https://github.com/Countly/countly-sdk-flutter-bridge' s.social_media_url = 'https://twitter.com/gocountly' diff --git a/scripts/no-push-files/pubspec.yaml b/scripts/no-push-files/pubspec.yaml index e16302a5..f2c12ae4 100644 --- a/scripts/no-push-files/pubspec.yaml +++ b/scripts/no-push-files/pubspec.yaml @@ -1,7 +1,7 @@ name: countly_flutter_np description: Countly is an innovative, real-time, open source mobile analytics. This plugin is a flavour of the SDK without push notifications. -version: 24.11.1 +version: 24.11.2 homepage: https://support.count.ly/hc/en-us/articles/360037944212-Flutter repository: https://github.com/Countly/countly-sdk-flutter-bridge issue_tracker: https://github.com/Countly/countly-sdk-flutter-bridge/issues From 453d4de03a2dbf3fb20ef94332997fefda202c54 Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray Date: Wed, 4 Dec 2024 10:55:37 +0300 Subject: [PATCH 3/5] fix: missing v --- ios/Classes/CountlyiOS/Countly.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/CountlyiOS/Countly.podspec b/ios/Classes/CountlyiOS/Countly.podspec index b529a9a3..41dd3402 100644 --- a/ios/Classes/CountlyiOS/Countly.podspec +++ b/ios/Classes/CountlyiOS/Countly.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Countly' - s.version = '24.7.8' + s.version = '24.7.9' s.license = { :type => 'MIT', :file => 'LICENSE' } s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.' s.homepage = 'https://github.com/Countly/countly-sdk-ios' From 47c42857b3b8b3b2b935dfbcddaaf53632d8e5e5 Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray <57103426+arifBurakDemiray@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:04:29 +0300 Subject: [PATCH 4/5] Update CHANGELOG.md --- ios/Classes/CountlyiOS/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/Classes/CountlyiOS/CHANGELOG.md b/ios/Classes/CountlyiOS/CHANGELOG.md index e543c56f..ec54172d 100644 --- a/ios/Classes/CountlyiOS/CHANGELOG.md +++ b/ios/Classes/CountlyiOS/CHANGELOG.md @@ -6,6 +6,7 @@ * Mitigated an issue where visibility could have been wrongly assigned if a view was closed while going to background. (Experimental!) * Mitigated an issue where the user provided URLSessionConfiguration was not applied to direct requests +* Mitigated an issue where a concurrent modification error could have happen when starting multiple stopped views * Mitigated an issue that parsing internal content event segmentation. ## 24.7.7 From 6b91d6823c2afacc6103a6a15806c1a025eac61e Mon Sep 17 00:00:00 2001 From: Arif Burak Demiray <57103426+arifBurakDemiray@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:07:26 +0300 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d6973f5..ebe8d808 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,6 @@ * Mitigated issues where: * Passing the global content callback was not possible in Android. * The user provided URLSessionConfiguration was not applied to direct requests in iOS. - * A concurrent modification error could have happen when starting multiple stopped views in iOS. * Updated underlying Android SDK version to 24.7.6 * Updated underlying iOS SDK version to 24.7.8