Skip to content

Commit bdcdce5

Browse files
committed
fix and update 1.3.1
1 parent 7cf4761 commit bdcdce5

26 files changed

+153
-52
lines changed

CHANGELOG-zh.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#
22

3+
## 1.3.1
4+
* 更新android sdk 为 2.14.5
5+
* 更新ios sdk 为 2.14.5
6+
* iOS字段:privacyAlertContentTextSize
7+
* iOS字段:privacyAlertBtnWidth
8+
* iOS字段:privacyAlertBtnHeigth
9+
* IOS字段:customReturnBtn
10+
311
## 1.3.0
412
* 更新android sdk 为 2.14.3
513
* 更新ios sdk 为 2.14.3

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
#
1+
#
2+
3+
## 1.3.1
4+
* Update Android SDK to 2.14.5
5+
* Update iOS SDK to 2.14.5
6+
* IOS fields: privacyAlertContentTextSize
7+
* IOS fields: privacyAlertBtnWidth
8+
* IOS fields: privacyAlertBtnHeigth
9+
* IOS field: customReturnBtn
210

311
## 1.3.0
412
* Update Android SDK to 2.14.3

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
由于项目的其他功能都采用阿里云的服务,在一键登录的功能上也采用阿里云利于后期的更好维护。
2121
本插件免费开源,高定制,如果在使用中有什么问题,欢迎反馈,如果觉得本插件还不够好可以提供您的宝贵意见,
2222
如果你想在自己项目中定制,请将本插件clone为本地进行修改,但是通过本插件进行修改后发布其他版本的插件也欢迎,
23-
但是在使用或者参考了本插件的思路或者相关内容,
23+
但是在使用或者参考了本插件的思路或者相关内容,
2424

2525
# 请注明出处并且链接到本插件,谢谢您的配合。
2626

@@ -92,6 +92,7 @@
9292
- [帮助文档](https://help.aliyun.com/product/75010.html)
9393
- [前往添加号码认证方案-获取秘钥](https://dypns.console.aliyun.com/?spm=5176.12818093.favorites.ddypns.488716d0ttKe13#/)
9494
- 使用秘钥初始化环境 AliAuthPlugin.initSdk()
95+
- [号码认证服务合规指南](https://help.aliyun.com/zh/pnvs/security-and-compliance/number-certification-service-compliance-guidelines)
9596

9697
## 注意事项
9798

README_en.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ This is a one click login plug-in for alicloud number authentication service
2323
As other functions of the project use alicloud services, Alibaba cloud is also used in the one click login function, which is conducive to better maintenance in the later stage.
2424
This plug-in is free, open source and highly customized. If you have any problems in use, you are welcome to give feedback. If you feel that this plug-in is not good enough, you can provide your valuable opinions,
2525
If you want to customize in your own project, please modify the clone of this plug-in locally. However, you are welcome to release other versions of plug-ins after modifying through this plug-in,
26-
However, when using or referring to the ideas or related contents of this plug-in,
27-
26+
However, when using or referring to the ideas or related contents of this plug-in,
27+
28+
2829
# Please indicate the source and link to this plug-in. Thank you for your cooperation.
2930

3031

@@ -52,10 +53,14 @@ However, when using or referring to the ideas or related contents of this plug-i
5253
| 700005 | 点击点击第三方按钮事件 |
5354

5455
## 步骤
55-
56+
- 1、配置APP的签名安装于手机
57+
- 2、获取签名APK文件下载地址:[点击下载快速获取签名工具](https://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/87870/cn_zh/1534313766610/AppSignGet.apk)
58+
- 3、使用签名APP获取签名
59+
- 4、配置appid+秘钥,阿里云后台配置签名,注意签名要和APP配置的签名一致,否则无法使用
5660
- [帮助文档](https://help.aliyun.com/product/75010.html)
5761
- [前往添加号码认证方案-获取秘钥](https://dypns.console.aliyun.com/?spm=5176.12818093.favorites.ddypns.488716d0ttKe13#/)
5862
- 使用秘钥初始化环境 AliAuthPlugin.initSdk()
63+
- [号码认证服务合规指南](https://help.aliyun.com/zh/pnvs/security-and-compliance/number-certification-service-compliance-guidelines)
5964

6065
## matters needing attention
6166

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.android.library'
22
group 'com.sean.rao.ali_auth'
3-
version '1.3.0'
3+
version '1.3.1'
44

55
buildscript {
66
repositories {

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ org.gradle.jvmargs=-Xmx1536m
1616
# org.gradle.parallel=true
1717
android.injected.testOnly=false
1818

19-
authLibVersion=2.14.3
19+
authLibVersion=2.14.5
2020
loggerVersion=2.2.2
2121
mainVersion=2.2.3
-1.14 MB
Binary file not shown.
1.14 MB
Binary file not shown.

android/src/main/java/com/sean/rao/ali_auth/AliAuthPlugin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ public IToast createToast(IToastStyle<?> style) {
183183
case "quitPage":
184184
oneKeyLoginPublic.quitPage();
185185
break;
186+
case "hideLoading":
187+
oneKeyLoginPublic.hideLoading();
188+
break;
186189
case "openPage":
187190
if (flutterEngine == null) {
188191
flutterEngine = new FlutterEngine(mContext);
@@ -300,7 +303,6 @@ public void isNetEnabled(Context context, @NonNull Result result) {
300303
result.success(resultObject);
301304
}
302305

303-
304306
// 注册回调
305307
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
306308
private void registerNetworkCallback(Context context) {
@@ -311,8 +313,6 @@ private void registerNetworkCallback(Context context) {
311313
cm.registerNetworkCallback(builder.build(), callback);
312314
}
313315

314-
315-
316316
// 注销回调
317317
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
318318
private void unregisterNetworkCallback(Context context) {

android/src/main/java/com/sean/rao/ali_auth/login/OneKeyLoginPublic.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ public void quitPage(){
228228
mAuthHelper.quitLoginPage();
229229
}
230230

231+
/**
232+
* 结束授权页loading dialog
233+
*/
234+
public void hideLoading(){
235+
mAuthHelper.hideLoginLoading();
236+
}
237+
231238
/**
232239
* 处理参数,对参数进行处理包含color、Path
233240
* @param parmas

0 commit comments

Comments
 (0)