Skip to content

Commit cd1f36b

Browse files
author
WuWenhui
committed
修改文档
1 parent 6b17786 commit cd1f36b

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

.idea/workspace.xml

Lines changed: 3 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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 2.1.0
22
IOS SDK更新内容
33
- 增加对ASA渠道的支持
4+
45
Android SDK更新内容
56
- 优化广告平台配置
67

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# openinstall flutter plugin
22

33

4-
openinstall模块封装了openinstall平台原生SDK,集成了**渠道统计,携带参数安装,快速安装与一键跳转**功能,目前渠道支持**H5渠道****广告平台渠道**以及**Apple Search Ads (ASA) 渠道**
5-
使用openinstall模块可实现以下多种场景
4+
openinstall插件封装了openinstall平台原生SDK,集成了 **渠道统计,携带参数安装,快速安装与一键跳转** 功能,目前渠道支持 **H5渠道****广告平台渠道** 以及 **Apple Search Ads (ASA) 渠道**
5+
使用openinstall可实现以下多种场景
66
![实现场景](https://res.cdn.openinstall.io/doc/scene.jpg)
77

88
## 一、配置
@@ -54,7 +54,8 @@ android: {
5454
1. 开启Associated Domains服务
5555

5656
对于iOS,为确保能正常跳转,AppID必须开启Associated Domains功能,请到[苹果开发者网站](https://developer.apple.com/ "苹果开发者网站"),选择Certificate, Identifiers & Profiles,选择相应的AppID,开启Associated Domains。
57-
> 注意:当AppID重新编辑过之后,需要更新相应的mobileprovision证书。
57+
58+
**注意:当AppID重新编辑过之后,需要更新相应的mobileprovision证书。**
5859

5960
![开启Associated Domains](https://res.cdn.openinstall.io/doc/ios-ulink-1.png)
6061

@@ -235,7 +236,7 @@ _openinstallFlutterPlugin.reportEffectPoint("effect_test", 1);
235236

236237
## 三、导出apk/ipa包并上传
237238

238-
集成完毕后,通过云编译导出iOS/Android安装包上传[openinstall控制台](https://developer.openinstall.io/),openinstal会检查应用的集成配置
239+
集成完毕后,导出iOS/Android安装包上传[openinstall控制台](https://developer.openinstall.io/),openinstal会检查应用的集成配置
239240
![上传ipa安装包](https://res.cdn.openinstall.io/doc/upload-ipa-jump.png)
240241

241242

@@ -254,7 +255,7 @@ _openinstallFlutterPlugin.reportEffectPoint("effect_test", 1);
254255
adConfig["adEnabled"] = true;
255256
_openinstallFlutterPlugin.configAndroid(adConfig);
256257
```
257-
> **注意:** `_openinstallFlutterPlugin.config(adEnabled, oaid, gaid)` 接口已废弃,请使用新的配置接口
258+
**注意: `_openinstallFlutterPlugin.config(adEnabled, oaid, gaid)` 接口已废弃,请使用新的配置接口**
258259

259260
可选参数说明:
260261

@@ -281,7 +282,7 @@ if (await Permission.phone.request().isGranted) {
281282
}
282283
_openinstallFlutterPlugin.init(wakeupHandler);
283284
```
284-
> 注意:`_openinstallFlutterPlugin.init(wakeupHandler, permission);` 接口已废弃,请自行处理权限请求
285+
**注意:** `_openinstallFlutterPlugin.init(wakeupHandler, permission);` 接口已废弃,请自行处理权限请求
285286

286287

287288
### iOS平台
@@ -295,6 +296,6 @@ _openinstallFlutterPlugin.init(wakeupHandler);
295296
<string>请允许,以获取和使用您的IDFA</string>
296297
```
297298

298-
备注:2021年iOS14.5苹果公司将正式启用idfa新隐私政策,详情可参考:[广告平台对接iOS集成指引](https://www.openinstall.io/doc/ad_ios.html)
299+
**备注:** 2021年iOS14.5苹果公司将正式启用idfa新隐私政策,详情可参考:[广告平台对接iOS集成指引](https://www.openinstall.io/doc/ad_ios.html)
299300

300301
ASA渠道相关详细文档参考:[ASA渠道使用指南](https://www.openinstall.io/doc/asa.html)

example/lib/main.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ class _MyAppState extends State<MyApp> {
2929
if (!mounted) return;
3030

3131
_openinstallFlutterPlugin = new OpeninstallFlutterPlugin();
32-
// for ad track
33-
var adConfig = new Map();
34-
adConfig["adEnabled"] = true;
35-
adConfig["oaid"] = "Xxx-sss-xxx-xxx-xx";
36-
adConfig["imeiDisabled"] = true;
37-
_openinstallFlutterPlugin.configAndroid(adConfig);
3832

3933
_openinstallFlutterPlugin.init(wakeupHandler);
4034
_openinstallFlutterPlugin.install(installHandler);

0 commit comments

Comments
 (0)