Skip to content

Commit 214e51d

Browse files
committed
fix bugs
1 parent 18c71fc commit 214e51d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

lib/openinstall_flutter_plugin.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,6 @@ class OpeninstallFlutterPlugin {
125125
return data;
126126
}
127127

128-
Future<Map<String, dynamic>> reportShare(String shareCode, String platform) async {
129-
var args = new Map();
130-
args["shareCode"] = shareCode;
131-
args["platform"] = platform;
132-
Map<String, dynamic> data = await _channel.invokeMethod('reportShare', args);
133-
return data;
134-
}
135-
136128
Future<String?> getOpid() async {
137129
print("getOpid 当初始化未完成时,将返回空,请在业务需要时再获取,并且使用时做空判断");
138130
if (Platform.isAndroid) {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2.5.4
44
homepage: https://www.openinstall.io
55

66
environment:
7-
sdk: ">=2.12.0 <3.0.0"
7+
sdk: ">=2.12.0 <4.0.0"
88
flutter: ">=2.0.0"
99

1010
dependencies:

0 commit comments

Comments
 (0)