From ced9cfffb55b20171452f2e239f21b6fe081b7c0 Mon Sep 17 00:00:00 2001 From: Levi Sky Date: Fri, 30 Jul 2021 13:52:28 -0700 Subject: [PATCH] [WASH-930] Update to tagged e3db-swift dep, docs --- example/ios/Podfile | 2 +- example/ios/Podfile.lock | 16 ++++++++-------- example/ios/Runner/Info.plist | 1 + ios/Classes/SwiftFlutterPlugin.swift | 1 - 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/ios/Podfile b/example/ios/Podfile index a142c39..ae0c1ef 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -33,7 +33,7 @@ target 'Runner' do flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - pod "E3db", :git => 'https://github.com/tozny/e3db-swift', :commit => 'c2d09b758b4797be611371bee45064e5d833505b' + pod "E3db", :git => 'https://github.com/tozny/e3db-swift', :tag => "4.2.0" end diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 5b07787..db52300 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,7 +1,7 @@ PODS: - - E3db (4.1.0-alpha.2): - - E3db/Core (= 4.1.0-alpha.2) - - E3db/Core (4.1.0-alpha.2): + - E3db (4.2.0): + - E3db/Core (= 4.2.0) + - E3db/Core (4.2.0): - Sodium (~> 0.7) - ToznyHeimdallr (~> 4.0) - ToznySwish (~> 5.0.0) @@ -25,7 +25,7 @@ PODS: - Valet (3.2.8) DEPENDENCIES: - - E3db (from `https://github.com/tozny/e3db-swift`, commit `c2d09b758b4797be611371bee45064e5d833505b`) + - E3db (from `https://github.com/tozny/e3db-swift`, tag `4.2.0`) - Flutter (from `Flutter`) - path_provider (from `.symlinks/plugins/path_provider/ios`) - permission_handler (from `.symlinks/plugins/permission_handler/ios`) @@ -41,8 +41,8 @@ SPEC REPOS: EXTERNAL SOURCES: E3db: - :commit: c2d09b758b4797be611371bee45064e5d833505b :git: https://github.com/tozny/e3db-swift + :tag: 4.2.0 Flutter: :path: Flutter path_provider: @@ -54,11 +54,11 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: E3db: - :commit: c2d09b758b4797be611371bee45064e5d833505b :git: https://github.com/tozny/e3db-swift + :tag: 4.2.0 SPEC CHECKSUMS: - E3db: bd7478440ee6c8de9ed30b342409487c4072f3ea + E3db: f1ae25955416f7dcbc22aafcdcc86c9b088de0a1 Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0 @@ -69,6 +69,6 @@ SPEC CHECKSUMS: ToznySwish: 22cb7f57696adbb98cb9078b278b756215169dc0 Valet: 16d0537d70db79d9ba953b9060b5da4fb8004e51 -PODFILE CHECKSUM: a3ba4bcb8b63ebff899f51796822534c2bf3edb6 +PODFILE CHECKSUM: 9c7e2167a8d82b9c91a2f862cc4a1ac6dab1aff2 COCOAPODS: 1.10.1 diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index b869c94..2cd57eb 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -43,6 +43,7 @@ NSAppTransportSecurity + NSAllowsArbitraryLoads diff --git a/ios/Classes/SwiftFlutterPlugin.swift b/ios/Classes/SwiftFlutterPlugin.swift index 033e7f8..290944c 100644 --- a/ios/Classes/SwiftFlutterPlugin.swift +++ b/ios/Classes/SwiftFlutterPlugin.swift @@ -79,7 +79,6 @@ public class SwiftFlutterPlugin: NSObject, Flutter.FlutterPlugin { /// Get the identity credentials for a user and create a client for them. The username, password and realm details are /// persisted from the `FlutterMethodCall` object - public func loginIdentity(_ call: FlutterMethodCall, result: @escaping FlutterResult) { let args = call.arguments as! Dictionary let realmConfig = args["realm_config"] as! Dictionary