diff --git a/CHANGELOG.md b/CHANGELOG.md index a670322a..ea5e5e9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,21 @@ * `getID` * `getIDType` * `enableTemporaryIDMode` + * Deprecated the following methods: * `getCurrentDeviceId` * `getDeviceIDType` * `changeDeviceId` +* Mitigated issues where: + * session was ending with device ID change without merge, when consent was not required and manual session control was enabled in Android + * session was not starting after device ID change without merge, when consent was not required and automatic sessions were enabled in Android + * consent information was not sent when no consent was given during initialization in iOS + * session could have started if the SDK was initialized on the background and automatic session tracking was enabled in iOS + * session did not end when session consent was removed in iOS + * disabling location did not work in iOS + * orientation info was not sent during initialization in iOS + * Updated underlying Android SDK version to 24.7.1 * Updated underlying iOS SDK version to 24.7.1 @@ -24,11 +34,21 @@ * `getID` * `getIDType` * `enableTemporaryIDMode` + * Deprecated the following methods: * `getCurrentDeviceId` * `getDeviceIDType` * `changeDeviceId` +* Mitigated issues where: + * session was ending with device ID change without merge, when consent was not required and manual session control was enabled in Android + * session was not starting after device ID change without merge, when consent was not required and automatic sessions were enabled in Android + * consent information was not sent when no consent was given during initialization in iOS + * session could have started if the SDK was initialized on the background and automatic session tracking was enabled in iOS + * session did not end when session consent was removed in iOS + * disabling location did not work in iOS + * orientation info was not sent during initialization in iOS + * Updated underlying Android SDK version to 24.7.1 * Updated underlying iOS SDK version to 24.7.1 diff --git a/android/build.gradle b/android/build.gradle index 1261e9ae..88331286 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -34,6 +34,6 @@ android { } dependencies { - implementation 'ly.count.android:sdk:24.7.1-RC2' + implementation 'ly.count.android:sdk:24.7.1' implementation 'com.google.firebase:firebase-messaging:20.2.1' } 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 674a30ed..e974247a 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 @@ -66,7 +66,7 @@ */ public class CountlyFlutterPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware, DefaultLifecycleObserver { private static final String TAG = "CountlyFlutterPlugin"; - private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "24.7.0"; + private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "24.7.1"; 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 8d59a541..a3923dc1 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.7.0'); + expect(requestObject['sdk_version']?[0], '24.7.1'); 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 1f8138b9..34c4b42d 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.7.0"; +NSString *const kCountlyFlutterSDKVersion = @"24.7.1"; NSString *const kCountlyFlutterSDKName = @"dart-flutterb-ios"; NSString *const kCountlyFlutterSDKNameNoPush = @"dart-flutterbnp-ios"; diff --git a/ios/countly_flutter.podspec b/ios/countly_flutter.podspec index b2d4ce01..1064024e 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.7.0' + s.version = '24.7.1' 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 2f6ecf7b..8f9c26d6 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.7.0 +version: 24.7.1 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/build.gradle b/scripts/no-push-files/build.gradle index 8a4d39de..fc5fd0a8 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.0' + implementation 'ly.count.android:sdk:24.7.1' } diff --git a/scripts/no-push-files/countly_flutter_np.podspec b/scripts/no-push-files/countly_flutter_np.podspec index 78a744c6..50a2a784 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.7.0' + s.version = '24.7.1' 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 fbafb200..2a9cd398 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.7.0 +version: 24.7.1 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