Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1
+ 修复:iOS 授权页 loading 框位置偏移问题
+ 修复:iOS 授权页监听点击事件 bug
+ 同步 JVerification SDK 2.5.0 版本
## 0.5.0
+ 新增:一键登录的同步接口 [loginAuthSyncApi]
## 0.4.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
```yaml
//pub 集成
dependencies:
jverify: 0.5.0
jverify: 0.5.1


//github 集成
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ android {

dependencies {
compileOnly files('libs/flutter.jar')
implementation 'cn.jiguang.sdk:jverification:2.4.8'
implementation 'cn.jiguang.sdk:jverification:2.5.0'
implementation 'cn.jiguang.sdk:jcore:2.1.2'
}
13 changes: 7 additions & 6 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
PODS:
- Flutter (1.0.0)
- JCore (2.1.2)
- JVerification (2.4.8):
- JCore (2.1.4-noidfa)
- JVerification (2.5.0):
- JCore (< 3.0.0, >= 1.2.6)
- jverify (0.0.1):
- Flutter
- JVerification (= 2.4.8)
- JCore (= 2.1.4-noidfa)
- JVerification (= 2.5.0)

DEPENDENCIES:
- Flutter (from `.symlinks/flutter/ios`)
Expand All @@ -24,9 +25,9 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: 58dd7d1b27887414a370fcccb9e645c08ffd7a6a
JCore: 1a426120b510cdebfd67b82bfb9483238ee09413
JVerification: a4c03d3b7f8dcc8c38b5376bf255629bf7cebfe8
jverify: c7e0888b212498b34755cfa76cbeb6d401fc4cd5
JCore: 2f15311e6889ab43ed5d629802ef793cac566465
JVerification: e51834e1c7f0f1b6b911987234a57bf80b9eeff8
jverify: 8a4261f246cf320f412d4f8fa8f7b3b2cb134dc9

PODFILE CHECKSUM: aff02bfeed411c636180d6812254b2daeea14d09

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.5.0"
version: "0.5.1"
matcher:
dependency: transitive
description:
Expand Down
17 changes: 15 additions & 2 deletions ios/Classes/JverifyPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ -(void)loginAuthSync:(BOOL)isSync call:(FlutterMethodCall*)call result:(FlutterR
dispatch_async(dispatch_get_main_queue(), ^{
if (isSync) {
//通过 channel 返回
[strongself.channel invokeMethod:@"onReceiveLoginAuthCallBackEvent" arguments:dict];
[strongself.channel invokeMethod:@"onReceiveAuthPageEvent" arguments:dict];
}else{
// 通过回调返回
result(dict);
Expand All @@ -290,7 +290,7 @@ -(void)loginAuthSync:(BOOL)isSync call:(FlutterMethodCall*)call result:(FlutterR
};
__strong typeof(weakself) strongself = weakself;
dispatch_async(dispatch_get_main_queue(), ^{
[strongself.channel invokeMethod:@"onReceiveClickWidgetEvent" arguments:jsonMap];
[strongself.channel invokeMethod:@"onReceiveAuthPageEvent" arguments:jsonMap];
});
}];
}
Expand Down Expand Up @@ -822,6 +822,19 @@ - (void)setCustomUIWithConfigWithMobile:(JVUIConfig *)mobileUIConfig
unicomUIConfig.agreementNavReturnImage = [UIImage imageNamed:privacyNavReturnBtnImage];
telecomUIConfig.agreementNavReturnImage = [UIImage imageNamed:privacyNavReturnBtnImage];
}

//loading
JVLayoutConstraint *loadingConstraintX = [JVLayoutConstraint constraintWithAttribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:JVLayoutItemSuper attribute:NSLayoutAttributeCenterX multiplier:1 constant:0];
JVLayoutConstraint *loadingConstraintY = [JVLayoutConstraint constraintWithAttribute:NSLayoutAttributeCenterY relatedBy:NSLayoutRelationEqual toItem:JVLayoutItemSuper attribute:NSLayoutAttributeCenterY multiplier:1 constant:0];
JVLayoutConstraint *loadingConstraintW = [JVLayoutConstraint constraintWithAttribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:JVLayoutItemNone attribute:NSLayoutAttributeWidth multiplier:1 constant:30];
JVLayoutConstraint *loadingConstraintH = [JVLayoutConstraint constraintWithAttribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:JVLayoutItemNone attribute:NSLayoutAttributeHeight multiplier:1 constant:30];

mobileUIConfig.loadingConstraints = @[loadingConstraintX,loadingConstraintY,loadingConstraintW,loadingConstraintH];
mobileUIConfig.loadingHorizontalConstraints = mobileUIConfig.loadingConstraints;
unicomUIConfig.loadingConstraints = @[loadingConstraintX,loadingConstraintY,loadingConstraintW,loadingConstraintH];
unicomUIConfig.loadingHorizontalConstraints = unicomUIConfig.loadingConstraints;
telecomUIConfig.loadingConstraints = @[loadingConstraintX,loadingConstraintY,loadingConstraintW,loadingConstraintH];
telecomUIConfig.loadingHorizontalConstraints = telecomUIConfig.loadingConstraints;
}

#pragma mark - 添加 label
Expand Down
5 changes: 3 additions & 2 deletions ios/jverify.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ A new flutter plugin project.
DESC
s.homepage = 'https://www.jiguang.cn'
s.license = { :file => '../LICENSE' }
s.author = { 'skk' => 'shikunkun.cool@163.com' }
s.author = { 'xudong.rao' => 'xudong.rao@outlook.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'JVerification', '2.4.8'
s.dependency 'JVerification', '2.5.0'
s.dependency 'JCore', '2.1.4-noidfa'

s.ios.deployment_target = '8.0'
s.static_framework = true
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: jverify
description: JIGUANG Official Jverifycation SDK flutter plugin project.
version: 0.5.0
author: shikk <shikunkun.cool@163.com>
version: 0.5.1
author: xudong.rao <xudong.rao@outlook.com>
homepage: https://www.jiguang.cn

environment:
Expand Down