Skip to content

Commit

Permalink
Release 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
weiqiangliu committed Oct 13, 2022
1 parent 468aa51 commit ec02967
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.2.1

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

## 2.2.0

* 延迟初始化支持配置全局属性
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
```yml
dependencies:
# 添加神策 flutter plugin
sensors_analytics_flutter_plugin: ^2.2.0
sensors_analytics_flutter_plugin: ^2.2.1
```
执行 flutter packages get 命令安装插件
Expand Down
4 changes: 4 additions & 0 deletions ios/Classes/SAFlutterGlobalPropertyPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
//

#import <Foundation/Foundation.h>
#if __has_include(<SensorsAnalyticsSDK/SAPropertyPlugin.h>)
#import <SensorsAnalyticsSDK/SAPropertyPlugin.h>
#else
#import "SAPropertyPlugin.h"
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion ios/sensors_analytics_flutter_plugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'sensors_analytics_flutter_plugin'
s.version = '2.2.0'
s.version = '2.2.1'
s.summary = 'A new flutter plugin project.'
s.description = <<-DESC
A new flutter plugin project.
Expand Down
2 changes: 1 addition & 1 deletion lib/sensors_analytics_flutter_plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class VisualizedConfig {

// This is the official Flutter Plugin for Sensors Analytics.
class SensorsAnalyticsFlutterPlugin {
static const String FLUTTER_PLUGIN_VERSION = "2.2.0";
static const String FLUTTER_PLUGIN_VERSION = "2.2.1";
static bool hasAddedFlutterPluginVersion = false;

static const MethodChannel _channel = const MethodChannel('sensors_analytics_flutter_plugin');
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sensors_analytics_flutter_plugin
description: This is the official flutter plugin for Sensors Analytics,with this plugin you can easily collect your app data on Android and iOS.
version: 2.2.0
version: 2.2.1
homepage: "https://github.com/sensorsdata/sensors_analytics_flutter_plugin"

environment:
Expand Down

0 comments on commit ec02967

Please sign in to comment.