Skip to content

Commit 13d2caf

Browse files
authored
Merge pull request #340 from Countly/v1-embedding-drop
V1 embedding drop
2 parents fe59cee + b1baf69 commit 13d2caf

File tree

10 files changed

+24
-16
lines changed

10 files changed

+24
-16
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
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
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;
@@ -67,7 +67,7 @@
6767
*/
6868
public class CountlyFlutterPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware, DefaultLifecycleObserver {
6969
private static final String TAG = "CountlyFlutterPlugin";
70-
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "25.1.0";
70+
private final String COUNTLY_FLUTTER_SDK_VERSION_STRING = "25.1.1";
7171
private final String COUNTLY_FLUTTER_SDK_NAME = "dart-flutterb-android";
7272
private final String COUNTLY_FLUTTER_SDK_NAME_NO_PUSH = "dart-flutterbnp-android";
7373

@@ -141,13 +141,13 @@ public final int resultResponder(RequestResult rResult) {
141141
//----------PLUGIN REGISTRATION (FlutterPlugin)-------------------
142142

143143
// Required for pre Flutter 1.12 projects
144-
public static void registerWith(Registrar registrar) {
145-
final CountlyFlutterPlugin instance = new CountlyFlutterPlugin();
146-
instance.activity = registrar.activity();
147-
final Context __context = registrar.context();
148-
instance.onAttachedToEngineInternal(__context, registrar.messenger());
149-
log("registerWith", LogLevel.INFO);
150-
}
144+
// public static void registerWith(Registrar registrar) {
145+
// final CountlyFlutterPlugin instance = new CountlyFlutterPlugin();
146+
// instance.activity = registrar.activity();
147+
// final Context __context = registrar.context();
148+
// instance.onAttachedToEngineInternal(__context, registrar.messenger());
149+
// log("registerWith", LogLevel.INFO);
150+
// }
151151

152152
// Called from Android embedding v2
153153
@Override

example/android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ gradle-wrapper.jar
44
/gradlew
55
/gradlew.bat
66
/local.properties
7+
/app/.cxx/
78
GeneratedPluginRegistrant.java
89

910
# Remember to never publicly share your keystore.

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-flutterb-${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

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.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.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,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.1.0
3+
version: 25.1.1
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

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)