Skip to content

Commit ec02967

Browse files
author
weiqiangliu
committed
Release 2.2.1
1 parent 468aa51 commit ec02967

File tree

7 files changed

+16
-5
lines changed

7 files changed

+16
-5
lines changed

.idea/workspace.xml

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.1
2+
3+
* Swift 项目中,使用 modular 头文件导入报错的缺陷
4+
15
## 2.2.0
26

37
* 延迟初始化支持配置全局属性

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.0
20+
sensors_analytics_flutter_plugin: ^2.2.1
2121
```
2222
2323
执行 flutter packages get 命令安装插件

ios/Classes/SAFlutterGlobalPropertyPlugin.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@
1919
//
2020

2121
#import <Foundation/Foundation.h>
22+
#if __has_include(<SensorsAnalyticsSDK/SAPropertyPlugin.h>)
23+
#import <SensorsAnalyticsSDK/SAPropertyPlugin.h>
24+
#else
2225
#import "SAPropertyPlugin.h"
26+
#endif
2327

2428
NS_ASSUME_NONNULL_BEGIN
2529

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.0'
6+
s.version = '2.2.1'
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.0";
40+
static const String FLUTTER_PLUGIN_VERSION = "2.2.1";
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.0
3+
version: 2.2.1
44
homepage: "https://github.com/sensorsdata/sensors_analytics_flutter_plugin"
55

66
environment:

0 commit comments

Comments
 (0)