Skip to content

Commit 29584d7

Browse files
committed
升级版本号和更新日志
1 parent 0a9a09b commit 29584d7

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.3.0
2+
新增效果点明细API
3+
14
## 2.2.3
25
Android 更新 SDK 到 2.6.4
36

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,20 @@ _openinstallFlutterPlugin.reportRegister();
234234
_openinstallFlutterPlugin.reportEffectPoint("effect_test", 1);
235235
```
236236

237+
#### 效果点明细统计
238+
`reportEffectPoint(String pointId, int pointValue, Map<String, String> extraMap)`
239+
240+
效果点建立在渠道基础之上,主要用来统计终端用户对某些特殊业务的使用效果。调用此接口时,请使用后台创建的 “效果点ID” 作为 pointId
241+
242+
示例:
243+
``` dart
244+
Map<String, String> extraMap = {
245+
"key1": "value1",
246+
"key2": "value2"
247+
};
248+
_openinstallFlutterPlugin.reportEffectPoint("effect_detail", 1, extraMap);
249+
```
250+
237251
## 三、导出apk/ipa包并上传
238252

239253
集成完毕后,导出iOS/Android安装包上传[openinstall控制台](https://developer.openinstall.io/),openinstal会检查应用的集成配置

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: openinstall_flutter_plugin
22
description: openinstall_flutter_plugin is a Flutter plugin based on openinstall, and with null safety support.
3-
version: 2.2.3
3+
version: 2.3.0
44
homepage: https://www.openinstall.io
55

66
environment:

0 commit comments

Comments
 (0)