diff --git a/example/.flutter-plugins-dependencies b/example/.flutter-plugins-dependencies index b44eb3d..46de6ce 100644 --- a/example/.flutter-plugins-dependencies +++ b/example/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mop","path":"/Users/kangxuyao/StudioProjects/finclip-flutter-sdk/","dependencies":[]}],"android":[{"name":"mop","path":"/Users/kangxuyao/StudioProjects/finclip-flutter-sdk/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"mop","dependencies":[]}],"date_created":"2021-07-28 10:48:46.146103","version":"2.3.0-17.0.pre.480"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mop","path":"/Users/beetle/Desktop/finogeeks/gitlab/finosprite/finclip-flutter-sdk/","dependencies":[]}],"android":[{"name":"mop","path":"/Users/beetle/Desktop/finogeeks/gitlab/finosprite/finclip-flutter-sdk/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"mop","dependencies":[]}],"date_created":"2021-08-13 09:53:09.007824","version":"2.2.2"} \ No newline at end of file diff --git a/example/pubspec.lock b/example/pubspec.lock index 19cdf86..75c4c64 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.flutter-io.cn" source: hosted - version: "2.7.0" + version: "2.6.1" boolean_selector: dependency: transitive description: @@ -28,7 +28,7 @@ packages: name: charcode url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.1" + version: "1.2.0" clock: dependency: transitive description: @@ -80,14 +80,14 @@ packages: name: meta url: "https://pub.flutter-io.cn" source: hosted - version: "1.4.0" + version: "1.3.0" mop: dependency: "direct dev" description: path: ".." relative: true source: path - version: "2.32.1" + version: "2.33.5" path: dependency: transitive description: @@ -141,7 +141,7 @@ packages: name: test_api url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.1" + version: "0.3.0" typed_data: dependency: transitive description: diff --git a/ios/Classes/Api/MOP_initialize.h b/ios/Classes/Api/MOP_initialize.h index b10862f..349c5a3 100644 --- a/ios/Classes/Api/MOP_initialize.h +++ b/ios/Classes/Api/MOP_initialize.h @@ -18,6 +18,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, copy) NSString *cryptType; @property (nonatomic, copy) NSString *userId; @property (nonatomic, assign) BOOL disablePermission; +@property (nonatomic, assign) BOOL encryptServerData; @end diff --git a/ios/Classes/Api/MOP_initialize.m b/ios/Classes/Api/MOP_initialize.m index bcdaade..00be1a1 100644 --- a/ios/Classes/Api/MOP_initialize.m +++ b/ios/Classes/Api/MOP_initialize.m @@ -35,7 +35,10 @@ config.cryptType = FATApiCryptTypeMD5; } config.currentUserId = [self.userId copy]; - + // encryptServerData + NSLog(@"encryptServerData:%d",self.encryptServerData); + config.encryptServerData = self.encryptServerData; + NSLog(@"disablePermission:%d",self.disablePermission); config.disableAuthorize = self.disablePermission; NSError* error = nil; diff --git a/ios/mop.podspec b/ios/mop.podspec index 4fd5f47..e25c45d 100644 --- a/ios/mop.podspec +++ b/ios/mop.podspec @@ -17,7 +17,7 @@ A finclip miniprogram flutter sdk. s.dependency 'Flutter' s.ios.deployment_target = '9.0' - s.dependency 'FinApplet' , '2.33.5' - s.dependency 'FinAppletExt' , '2.33.5' + s.dependency 'FinApplet' , '2.34.0-alpha20210813v01' + s.dependency 'FinAppletExt' , '2.34.0-alpha20210813v01' end diff --git a/pubspec.lock b/pubspec.lock index 87bf1c8..65b1ee6 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.flutter-io.cn" source: hosted - version: "2.7.0" + version: "2.6.1" boolean_selector: dependency: transitive description: @@ -28,7 +28,7 @@ packages: name: charcode url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.1" + version: "1.2.0" clock: dependency: transitive description: @@ -73,7 +73,7 @@ packages: name: meta url: "https://pub.flutter-io.cn" source: hosted - version: "1.4.0" + version: "1.3.0" path: dependency: transitive description: @@ -127,7 +127,7 @@ packages: name: test_api url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.1" + version: "0.3.0" typed_data: dependency: transitive description: