Skip to content

Commit 62eee28

Browse files
authored
Merge pull request #339 from Countly/v1-embedding-drop-np
V1 embedding drop np
2 parents 3cec5d6 + 7f4de0e commit 62eee28

File tree

13 files changed

+28
-20
lines changed

13 files changed

+28
-20
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 25.1.1-np
2+
* Removed Android v1 embedding support
3+
4+
* Underlying Android SDK version is 25.1.1
5+
* Underlying iOS SDK version is 25.1.1
6+
* Underlying Web SDK version is 25.1.0
7+
18
## 25.1.0-np
29
* 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:
310
* Hybrid sessions are the default; full manual sessions are not supported.

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import io.flutter.plugin.common.MethodChannel;
1010
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
1111
import io.flutter.plugin.common.MethodChannel.Result;
12-
import io.flutter.plugin.common.PluginRegistry.Registrar;
12+
// import io.flutter.plugin.common.PluginRegistry.Registrar;
1313

1414
import ly.count.android.sdk.Countly;
1515
import ly.count.android.sdk.CountlyConfig;
@@ -62,7 +62,7 @@
6262
*/
6363
public class CountlyFlutterPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware, DefaultLifecycleObserver {
6464
private static final String TAG = "CountlyFlutterPlugin";
65-
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "25.1.0";
65+
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "25.1.1";
6666
private final String COUNTLY_FLUTTER_SDK_NAME = "dart-flutterb-android";
6767
private final String COUNTLY_FLUTTER_SDK_NAME_NO_PUSH = "dart-flutterbnp-android";
6868

@@ -136,13 +136,13 @@ public final int resultResponder(RequestResult rResult) {
136136
//----------PLUGIN REGISTRATION (FlutterPlugin)-------------------
137137

138138
// Required for pre Flutter 1.12 projects
139-
public static void registerWith(Registrar registrar) {
140-
final CountlyFlutterPlugin instance = new CountlyFlutterPlugin();
141-
instance.activity = registrar.activity();
142-
final Context __context = registrar.context();
143-
instance.onAttachedToEngineInternal(__context, registrar.messenger());
144-
log("registerWith", LogLevel.INFO);
145-
}
139+
// public static void registerWith(Registrar registrar) {
140+
// final CountlyFlutterPlugin instance = new CountlyFlutterPlugin();
141+
// instance.activity = registrar.activity();
142+
// final Context __context = registrar.context();
143+
// instance.onAttachedToEngineInternal(__context, registrar.messenger());
144+
// log("registerWith", LogLevel.INFO);
145+
// }
146146

147147
// Called from Android embedding v2
148148
@Override

example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
# Android related
3434
**/android/**/gradle-wrapper.jar
3535
**/android/.gradle
36+
**/android/app/.cxx/
3637
**/android/captures/
3738
**/android/gradlew
3839
**/android/gradlew.bat

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip

example/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pluginManagement {
1919

2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "7.3.0" apply false
23-
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
22+
id 'com.android.application' version '8.8.0' apply false
23+
id 'org.jetbrains.kotlin.android' version '2.1.10' apply false
2424
}
2525

2626
include ":app"

example/integration_test/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void testCommonRequestParams(Map<String, List<String>> requestObject) {
3232
expect(
3333
requestObject['sdk_name']?[0],
3434
"dart-flutterbnp-${kIsWeb ? 'web' : Platform.isIOS ? 'ios' : 'android'}");
35-
expect(requestObject['sdk_version']?[0], '25.1.0');
35+
expect(requestObject['sdk_version']?[0], '25.1.1');
3636
expect(
3737
requestObject['av']?[0],
3838
kIsWeb

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dev_dependencies:
2727
sdk: flutter
2828
integration_test:
2929
sdk: flutter
30-
flutter_foreground_task: 6.0.0+1
30+
flutter_foreground_task: ^8.0.0
3131
flutter_lints: ^2.0.0
3232

3333
# For information on the generic Dart part of this file, see the

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.1.0";
31+
NSString *const kCountlyFlutterSDKVersion = @"25.1.1";
3232
NSString *const kCountlyFlutterSDKName = @"dart-flutterb-ios";
3333
NSString *const kCountlyFlutterSDKNameNoPush = @"dart-flutterbnp-ios";
3434

ios/countly_flutter_np.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_np'
6-
s.version = '25.1.0'
6+
s.version = '25.1.1'
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class CountlyFlutterPluginConfig {
2-
static const String SDK_VERSION_STRING = '25.1.0';
2+
static const String SDK_VERSION_STRING = '25.1.1';
33
static const String SDK_NAME = 'dart-flutterb-web';
44
static const String WEB_SDK_URL = 'https://cdn.jsdelivr.net/npm/[email protected]/lib/countly.min.js';
55
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: countly_flutter_np
22
description: Countly is an innovative, real-time, open source mobile analytics. This plugin is a flavour of the SDK without push notifications.
33

4-
version: 25.1.0
4+
version: 25.1.1
55
homepage: https://support.count.ly/hc/en-us/articles/360037944212-Flutter
66
repository: https://github.com/Countly/countly-sdk-flutter-bridge
77
issue_tracker: https://github.com/Countly/countly-sdk-flutter-bridge/issues

scripts/no-push-files/countly_flutter_np.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_np'
6-
s.version = '25.1.0'
6+
s.version = '25.1.1'
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'

scripts/no-push-files/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: countly_flutter_np
22
description: Countly is an innovative, real-time, open source mobile analytics. This plugin is a flavour of the SDK without push notifications.
33

4-
version: 25.1.0
4+
version: 25.1.1
55
homepage: https://support.count.ly/hc/en-us/articles/360037944212-Flutter
66
repository: https://github.com/Countly/countly-sdk-flutter-bridge
77
issue_tracker: https://github.com/Countly/countly-sdk-flutter-bridge/issues

0 commit comments

Comments
 (0)