Skip to content

Commit 76a823f

Browse files
author
weiqiangliu
committed
Release 2.2.2
1 parent e0f517e commit 76a823f

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.2
2+
3+
* 新增接口 bind、unbind、loginWithKey
4+
15
## 2.2.1
26

37
* Swift 项目中,使用 modular 头文件导入报错的缺陷

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
```yml
1818
dependencies:
1919
# 添加神策 flutter plugin
20-
sensors_analytics_flutter_plugin: ^2.2.1
20+
sensors_analytics_flutter_plugin: ^2.2.2
2121
```
2222
2323
执行 flutter packages get 命令安装插件

example/lib/main.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ class _MyAppState extends State<MyApp> {
127127
// "a_time": DateTime.now(),
128128
// "product_name": "Apple 12 max pro"
129129
// });
130-
List<String?>? list = ["flutter_plugin:12312"];
131-
var map = {r"$lib_plugin_version": list, "address": "000000000000"};
130+
var map = { "address": "beijing"};
132131
SensorsAnalyticsFlutterPlugin.track("hello", map);
133132
},
134133
),

ios/sensors_analytics_flutter_plugin.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 = 'sensors_analytics_flutter_plugin'
6-
s.version = '2.2.1'
6+
s.version = '2.2.2'
77
s.summary = 'A new flutter plugin project.'
88
s.description = <<-DESC
99
A new flutter plugin project.

lib/sensors_analytics_flutter_plugin.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class VisualizedConfig {
3737

3838
// This is the official Flutter Plugin for Sensors Analytics.
3939
class SensorsAnalyticsFlutterPlugin {
40-
static const String FLUTTER_PLUGIN_VERSION = "2.2.1";
40+
static const String FLUTTER_PLUGIN_VERSION = "2.2.2";
4141
static bool hasAddedFlutterPluginVersion = false;
4242

4343
static const MethodChannel _channel = const MethodChannel('sensors_analytics_flutter_plugin');

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sensors_analytics_flutter_plugin
22
description: This is the official flutter plugin for Sensors Analytics,with this plugin you can easily collect your app data on Android and iOS.
3-
version: 2.2.1
3+
version: 2.2.2
44
homepage: "https://github.com/sensorsdata/sensors_analytics_flutter_plugin"
55

66
environment:

0 commit comments

Comments
 (0)