From 303b41e84b60aa35443c70c44d3b42994c10da9b Mon Sep 17 00:00:00 2001 From: kangxuyao Date: Fri, 31 Jul 2020 15:33:48 +0800 Subject: [PATCH] update --- android/build.gradle | 2 +- example/ios/Podfile.lock | 8 ++++---- ios/Classes/Api/MOP_initialize.m | 5 +++-- ios/mop.podspec | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 4c0116c..b47d151 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -91,6 +91,6 @@ kapt { } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.finogeeks.lib:finapplet:2.8.81' + implementation 'com.finogeeks.lib:finapplet:2.9.4' } diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 52b35d5..f017a8c 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,8 +1,8 @@ PODS: - - FinApplet (2.4.16) + - FinApplet (2.6.3) - Flutter (1.0.0) - mop (0.1.0): - - FinApplet (= 2.4.16) + - FinApplet (= 2.6.3) - Flutter DEPENDENCIES: @@ -20,9 +20,9 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/mop/ios" SPEC CHECKSUMS: - FinApplet: 7e1996d9bc81279a675dda954c8386ea05e7fe26 + FinApplet: d462499b39520138bdaf1a716ff17137768cbcf8 Flutter: 0e3d915762c693b495b44d77113d4970485de6ec - mop: 64c0911b36f549bd62e06e63f5e8eb8d3de1e78d + mop: d2defa66e0f2383923dd025ae4384f17d8d909b0 PODFILE CHECKSUM: fa591ea0d89752dd0191ae3f82c83db034678e82 diff --git a/ios/Classes/Api/MOP_initialize.m b/ios/Classes/Api/MOP_initialize.m index 6f046d6..cfd6121 100644 --- a/ios/Classes/Api/MOP_initialize.m +++ b/ios/Classes/Api/MOP_initialize.m @@ -35,10 +35,11 @@ } NSLog(@"disablePermission:%d",self.disablePermission); - config.autoAdaptDarkMode = YES; config.disableAuthorize = self.disablePermission; NSError* error = nil; - [[FATClient sharedClient] initWithConfig:config error:&error]; + FATUIConfig *uiconfig = [[FATUIConfig alloc]init]; + uiconfig.autoAdaptDarkMode = YES; + [[FATClient sharedClient] initWithConfig:config uiConfig:uiconfig error:&error]; if (error) { failure(@"初始化失败"); return; diff --git a/ios/mop.podspec b/ios/mop.podspec index 1c9cede..7449b00 100644 --- a/ios/mop.podspec +++ b/ios/mop.podspec @@ -17,6 +17,6 @@ A new flutter plugin project. s.dependency 'Flutter' s.ios.deployment_target = '8.0' - s.dependency 'FinApplet' , '2.4.16' + s.dependency 'FinApplet' , '2.6.3' end