diff --git a/CHANGELOG.md b/CHANGELOG.md index e498781b..bed94306 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 25.1.1 +* Removed Android v1 embedding support + +* Underlying Android SDK version is 25.1.1 +* Underlying iOS SDK version is 25.1.1 +* Underlying Web SDK version is 25.1.0 + ## 25.1.0 * Added experimental support for the web platform in the Countly Flutter SDK. Some functionalities are not yet fully supported. Below is the list of limitations for the web platform: * Hybrid sessions are the default; full manual sessions are not supported. 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 f3906ee9..11c97ad0 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 @@ -9,7 +9,7 @@ import io.flutter.plugin.common.MethodChannel; import io.flutter.plugin.common.MethodChannel.MethodCallHandler; import io.flutter.plugin.common.MethodChannel.Result; -import io.flutter.plugin.common.PluginRegistry.Registrar; +// import io.flutter.plugin.common.PluginRegistry.Registrar; import ly.count.android.sdk.Countly; import ly.count.android.sdk.CountlyConfig; @@ -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 = "25.1.0"; + private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "25.1.1"; private final String COUNTLY_FLUTTER_SDK_NAME = "dart-flutterb-android"; private final String COUNTLY_FLUTTER_SDK_NAME_NO_PUSH = "dart-flutterbnp-android"; @@ -141,13 +141,13 @@ public final int resultResponder(RequestResult rResult) { //----------PLUGIN REGISTRATION (FlutterPlugin)------------------- // Required for pre Flutter 1.12 projects - public static void registerWith(Registrar registrar) { - final CountlyFlutterPlugin instance = new CountlyFlutterPlugin(); - instance.activity = registrar.activity(); - final Context __context = registrar.context(); - instance.onAttachedToEngineInternal(__context, registrar.messenger()); - log("registerWith", LogLevel.INFO); - } + // public static void registerWith(Registrar registrar) { + // final CountlyFlutterPlugin instance = new CountlyFlutterPlugin(); + // instance.activity = registrar.activity(); + // final Context __context = registrar.context(); + // instance.onAttachedToEngineInternal(__context, registrar.messenger()); + // log("registerWith", LogLevel.INFO); + // } // Called from Android embedding v2 @Override diff --git a/example/android/.gitignore b/example/android/.gitignore index 6f568019..b845327e 100644 --- a/example/android/.gitignore +++ b/example/android/.gitignore @@ -4,6 +4,7 @@ gradle-wrapper.jar /gradlew /gradlew.bat /local.properties +/app/.cxx/ GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. diff --git a/example/integration_test/utils.dart b/example/integration_test/utils.dart index 166aa851..ff0f5d07 100644 --- a/example/integration_test/utils.dart +++ b/example/integration_test/utils.dart @@ -32,7 +32,7 @@ void testCommonRequestParams(Map> requestObject) { expect( requestObject['sdk_name']?[0], "dart-flutterb-${kIsWeb ? 'web' : Platform.isIOS ? 'ios' : 'android'}"); - expect(requestObject['sdk_version']?[0], '25.1.0'); + expect(requestObject['sdk_version']?[0], '25.1.1'); expect( requestObject['av']?[0], kIsWeb diff --git a/ios/Classes/CountlyFlutterPlugin.m b/ios/Classes/CountlyFlutterPlugin.m index a9044f5e..28a83213 100644 --- a/ios/Classes/CountlyFlutterPlugin.m +++ b/ios/Classes/CountlyFlutterPlugin.m @@ -28,7 +28,7 @@ @interface CountlyPersistency () CLYPushTestMode const CLYPushTestModeProduction = @"CLYPushTestModeProduction"; -NSString *const kCountlyFlutterSDKVersion = @"25.1.0"; +NSString *const kCountlyFlutterSDKVersion = @"25.1.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 477666a1..b09a8232 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 = '25.1.0' + s.version = '25.1.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/lib/src/web/plugin_config.dart b/lib/src/web/plugin_config.dart index 0a2ca76c..8c914f32 100644 --- a/lib/src/web/plugin_config.dart +++ b/lib/src/web/plugin_config.dart @@ -1,5 +1,5 @@ class CountlyFlutterPluginConfig { - static const String SDK_VERSION_STRING = '25.1.0'; + static const String SDK_VERSION_STRING = '25.1.1'; static const String SDK_NAME = 'dart-flutterb-web'; static const String WEB_SDK_URL = 'https://cdn.jsdelivr.net/npm/countly-sdk-web@25.1.0/lib/countly.min.js'; } diff --git a/pubspec.yaml b/pubspec.yaml index 6c482a28..dabec8af 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: 25.1.0 +version: 25.1.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/countly_flutter_np.podspec b/scripts/no-push-files/countly_flutter_np.podspec index 81e91af3..96b0712e 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 = '25.1.0' + s.version = '25.1.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 8b28ea9b..22297026 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: 25.1.0 +version: 25.1.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