Skip to content

Commit

Permalink
update 1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGather committed Aug 21, 2024
1 parent 40e558c commit d0ad604
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG-zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#

## 1.2.8
* 更新android sdk 为 2.13.14
* 更新ios sdk 为 2.13.14
* 修复Ios端二次弹窗的大小

## 1.2.7
* 添加返回参数 isChecked
* 统一背景参数 pageBackgroundPath
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#

## 1.2.8
* Update Android SDK to 2.13.14
* Update iOS SDK to 2.13.14
* Fix the size of secondary pop ups on Ios end

## 1.2.7
* Add return parameter isChecked
* Unified background parameter pageBackgroundPath
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
group 'com.sean.rao.ali_auth'
version '1.2.7'
version '1.2.8'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ org.gradle.jvmargs=-Xmx1536m
# org.gradle.parallel=true
android.injected.testOnly=false

authLibVersion=2.13.10
authLibVersion=2.13.14
loggerVersion=2.2.2
mainVersion=2.2.3
Binary file not shown.
Binary file not shown.
18 changes: 15 additions & 3 deletions ios/Classes/Utils/PNSBuildModelUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -1902,17 +1902,17 @@ + (TXCustomModel *)buildModelOption:(NSDictionary *)dict
}
/// 协议1,[协议名称,协议Url]
model.privacyOne = @[
[dict stringValueForKey: @"protocolOneName" defaultValue: @"协议1"],
[dict stringValueForKey: @"protocolOneName" defaultValue: @""],
[dict stringValueForKey: @"protocolOneURL" defaultValue: @""]
];
/// 协议2,[协议名称,协议Url]
model.privacyTwo = @[
[dict stringValueForKey: @"protocolTwoName" defaultValue: @"协议2"],
[dict stringValueForKey: @"protocolTwoName" defaultValue: @""],
[dict stringValueForKey: @"protocolTwoURL" defaultValue: @""]
];
/// 协议3,[协议名称,协议Url]
model.privacyThree = @[
[dict stringValueForKey: @"protocolThreeName" defaultValue: @"协议3"],
[dict stringValueForKey: @"protocolThreeName" defaultValue: @""],
[dict stringValueForKey: @"protocolThreeURL" defaultValue: @""]
];
/// 扩大选区
Expand Down Expand Up @@ -1973,6 +1973,18 @@ + (TXCustomModel *)buildModelOption:(NSDictionary *)dict
};
}
}

#pragma mark 10、二次弹窗
/// 弹窗大小
model.privacyAlertFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
return CGRectMake(
[dict floatValueForKey: @"privacyAlertOffsetX" defaultValue: 40],
[dict floatValueForKey: @"privacyAlertOffsetY" defaultValue: frame.origin.y],
[dict floatValueForKey: @"privacyAlertWidth" defaultValue: frame.size.width - 80],
[dict floatValueForKey: @"privacyAlertHeight" defaultValue: 200]
);
};

#pragma mark 屏幕方向
if (model.privacyAlertIsNeedShow) {
model.privacyAlertTitleFrameBlock = ^CGRect(CGSize screenSize, CGSize superViewSize, CGRect frame) {
Expand Down
2 changes: 1 addition & 1 deletion ios/ali_auth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'ali_auth'
s.version = '1.2.7'
s.version = '1.2.8'
s.summary = 'A new flutter plugin project.'
s.description = <<-DESC
是一个集成阿里云号码认证服务SDK的flutter插件
Expand Down
Binary file modified ios/libs/ATAuthSDK.framework/ATAuthSDK
Binary file not shown.
2 changes: 2 additions & 0 deletions ios/libs/ATAuthSDK.framework/Headers/TXCustomModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@ typedef CGRect(^PNSBuildFrameBlock)(CGSize screenSize, CGSize superViewSize, CGR

/** 二次隐私协议弹窗按钮文字内容 默认“同意”*/
@property (nonatomic, copy) NSString *privacyAlertBtnContent;
/** 二次隐私协议弹窗登录按钮的圆角值,如果值<=0则为直角 ,默认0*/
@property (nonatomic, assign) CGFloat privacyAlertBtnCornerRadius;
/** 二次隐私协议弹窗按钮按钮背景图片 ,默认高度50.0pt,@[激活状态的图片,高亮状态的图片] */
@property (nonatomic, copy) NSArray<UIImage *> *privacyAlertBtnBackgroundImages;
/** 二次隐私协议弹窗按钮文字颜色,默认黑色, @[激活状态的颜色,高亮状态的颜色] */
Expand Down
Binary file modified ios/libs/ATAuthSDK.framework/Info.plist
Binary file not shown.
Binary file modified ios/libs/YTXMonitor.framework/Info.plist
Binary file not shown.
Binary file modified ios/libs/YTXMonitor.framework/YTXMonitor
Binary file not shown.
Binary file modified ios/libs/YTXOperators.framework/Info.plist
Binary file not shown.
Binary file modified ios/libs/YTXOperators.framework/YTXOperators
Binary file not shown.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ali_auth
description: This is a plug-in for one click login in the alicloud number authentication service. Alibaba cloud is also used in the one click login function
version: 1.2.7
version: 1.2.8
homepage: https://github.com/CodeGather/flutter_ali_auth
repository: https://github.com/CodeGather/flutter_ali_auth/tree/master/example
issue_tracker: https://github.com/CodeGather/flutter_ali_auth/issues
Expand Down
9 changes: 4 additions & 5 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

## 1.2.7
* 添加返回参数 isChecked
* 统一背景参数 pageBackgroundPath
* 优化iOS端代码参数统一配置
* 修复Android物理按键返回后无法再次打开问题
## 1.2.8
* 更新android sdk 为 2.13.14
* 更新ios sdk 为 2.13.14
* 修复Ios端二次弹窗的大小

0 comments on commit d0ad604

Please sign in to comment.