Skip to content

Commit dbca717

Browse files
authored
Merge pull request #17 from jpush/dev
v0.3.0
2 parents b212518 + bf80261 commit dbca717

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 0.3.0
2+
+ 新增:关闭授权页面接口
13
## 0.2.0
24
+ 新增:设置授权页背景图片
35
+ 新增:支持隐藏导航栏、返回按钮

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,25 @@
77

88
```yaml
99
dependencies:
10-
jverify: 0.2.0
10+
jverify: 0.3.0
1111
```
1212
13+
### 安装
14+
15+
在工程 pubspec.yaml 中加入 dependencies
16+
17+
```yaml
18+
//pub.dev 集成
19+
dependencies:
20+
jpush_flutter: 0.2.0
21+
22+
//github 集成
23+
dependencies:
24+
jmessage_flutter:
25+
git:
26+
url: git://github.com/jpush/jverify-flutter-plugin.git
27+
ref: master
28+
```
1329
### 配置
1430
1531
##### Android:

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ packages:
5252
path: ".."
5353
relative: true
5454
source: path
55-
version: "0.2.0"
55+
version: "0.3.0"
5656
matcher:
5757
dependency: transitive
5858
description:

lib/jverify.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,14 @@ class Jverify {
169169
.invokeMethod("loginAuth", {"autoDismiss": autoDismiss});
170170
}
171171

172+
/*
173+
* 关闭授权页面
174+
* */
175+
void dismissLoginAuthView() {
176+
print(flutter_log + "dismissLoginAuthView");
177+
_channel.invokeMethod("dismissLoginAuthView");
178+
}
179+
172180
/*
173181
* 设置授权页面
174182
*

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: jverify
22
description: JIGUANG Official Jverifycation SDK flutter plugin project.
3-
version: 0.2.0
3+
version: 0.3.0
44
author: shikk <[email protected]>
55
homepage: https://www.jiguang.cn
66

0 commit comments

Comments
 (0)