File tree Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 1
1
2
+ ## 2.4.1
3
+ Android 更新 SDK 到 2.8.1
4
+ iOS 更新本地pod库使SDK升级到2.8.0
5
+
2
6
## 2.4.0
3
7
新增裂变分享统计
4
- Android 更新 SDK 到 2.8.0
5
- iOS
6
- getInstall新增返回码shouldRetry,超时返回true
7
- 更新本地pod库使SDK升级到2.7.0
8
+ getInstall新增返回码shouldRetry,超时返回true
9
+ Android 更新 SDK 到 2.8.0
10
+ iOS 更新本地pod库使SDK升级到2.7.0
8
11
9
12
## 2.3.1
10
13
iOS
@@ -15,15 +18,15 @@ getInstall新增返回码shouldRetry,超时返回true
15
18
16
19
## 2.3.0
17
20
新增效果点明细API
18
- Android 更新 SDK 到 2.7.0
21
+ Android 更新 SDK 到 2.7.0
19
22
iOS端插件升级后,需要从cocoapod同步升级原生SDK到2.6.0以上
20
23
21
24
## 2.2.3
22
25
Android 更新 SDK 到 2.6.4
23
26
24
27
## 2.2.2
25
- Android 更新 SDK 到 2.6.3
26
- iOS 更新 SDK 到 2.5.5
28
+ Android 更新 SDK 到 2.6.3
29
+ iOS 更新 SDK 到 2.5.5
27
30
将 dynamic 替换为 Object
28
31
29
32
## 2.2.1
Original file line number Diff line number Diff line change @@ -151,9 +151,14 @@ class OpeninstallFlutterPlugin {
151
151
}
152
152
153
153
Future <String ?> getOpid () async {
154
- print ("getOpid 当初始化未完成时,将返回空,请在业务需要时再获取,并且使用时做空判断" );
155
- String ? opid = await _channel.invokeMethod ('getOpid' );
156
- return opid;
154
+ if (Platform .isAndroid) {
155
+ print ("getOpid 当初始化未完成时,将返回空,请在业务需要时再获取,并且使用时做空判断" );
156
+ String ? opid = await _channel.invokeMethod ('getOpid' );
157
+ return opid;
158
+ } else {
159
+ // 仅使用于 Android 平台
160
+ return "" ;
161
+ }
157
162
}
158
163
159
164
void setChannel (String channelCode) {
Original file line number Diff line number Diff line change 1
1
name : openinstall_flutter_plugin
2
2
description : openinstall_flutter_plugin is a Flutter plugin based on openinstall, and with null safety support.
3
- version : 2.4.0
3
+ version : 2.4.1
4
4
homepage : https://www.openinstall.io
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments