idwise-nfc-react-native-sdk 5.4.4 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +2 -2
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +2 -2
- package/idwise-react-native-sdk.podspec +7 -6
- package/index.d.ts +125 -0
- package/ios/IDWiseNFC.xcframework/Info.plist +5 -5
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Assets.car +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/DocumentTypeTableViewCell.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/IDWiseNFC +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.abi.json +2601 -2260
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.private.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/document_detector.mlmodelc/metadata.json +64 -61
- package/ios/IDWiseNFC.xcframework/ios-arm64/IDWiseNFC.framework/document_quality_model.mlmodelc/metadata.json +21 -18
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Assets.car +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/DocumentTypeTableViewCell.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/IDWiseNFC +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Info.plist +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.abi.json +2601 -2260
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.abi.json +2601 -2260
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/Modules/IDWiseNFC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +32 -12
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/_CodeSignature/CodeResources +35 -35
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_detector.mlmodelc/metadata.json +64 -61
- package/ios/IDWiseNFC.xcframework/ios-arm64_x86_64-simulator/IDWiseNFC.framework/document_quality_model.mlmodelc/metadata.json +21 -18
- package/ios/IdwiseMobileSdk.mm +0 -3
- package/ios/IdwiseMobileSdk.swift +2 -2
- package/package.json +8 -4
- package/src/IDWiseConstants.js +7 -0
- package/src/index.js +5 -3
- package/tsconfig.json +31 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name IDWiseNFC
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
4
5
|
import AVFoundation
|
|
5
6
|
import AVKit
|
|
6
7
|
import AdSupport
|
|
@@ -15,7 +16,9 @@ import FingerprintPro
|
|
|
15
16
|
import Foundation
|
|
16
17
|
import MachO
|
|
17
18
|
import MobileCoreServices
|
|
19
|
+
import OSLog
|
|
18
20
|
import PDFKit
|
|
21
|
+
import ShieldFraud
|
|
19
22
|
import Swift
|
|
20
23
|
import SwiftUI
|
|
21
24
|
import SystemConfiguration
|
|
@@ -27,8 +30,10 @@ import Vision
|
|
|
27
30
|
import _Concurrency
|
|
28
31
|
import _StringProcessing
|
|
29
32
|
import _SwiftConcurrencyShims
|
|
33
|
+
import os.log
|
|
34
|
+
import os
|
|
30
35
|
extension UIKit.UIApplication {
|
|
31
|
-
@_Concurrency.MainActor
|
|
36
|
+
@_Concurrency.MainActor @preconcurrency public static var isRunningTest: Swift.Bool {
|
|
32
37
|
get
|
|
33
38
|
}
|
|
34
39
|
}
|
|
@@ -154,17 +159,17 @@ public struct ApiDataNetworkConfig : IDWiseNFC.NetworkConfigurable {
|
|
|
154
159
|
public var queryParameters: [Swift.String : Swift.String]
|
|
155
160
|
public init(baseURL: Foundation.URL, headers: [Swift.String : Swift.String] = [:], queryParameters: [Swift.String : Swift.String] = [:])
|
|
156
161
|
}
|
|
157
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor
|
|
158
|
-
@objc @IBOutlet @_Concurrency.MainActor
|
|
162
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class MenuWidgetView : UIKit.UIView {
|
|
163
|
+
@objc @IBOutlet @_Concurrency.MainActor @preconcurrency weak public var menuTableView: UIKit.UITableView!
|
|
159
164
|
@objc deinit
|
|
160
165
|
}
|
|
161
166
|
extension IDWiseNFC.MenuWidgetView : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
|
|
162
|
-
@_Concurrency.MainActor
|
|
163
|
-
@_Concurrency.MainActor
|
|
164
|
-
@_Concurrency.MainActor
|
|
165
|
-
@_Concurrency.MainActor
|
|
166
|
-
@_Concurrency.MainActor
|
|
167
|
-
@_Concurrency.MainActor
|
|
167
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
|
|
168
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
|
|
169
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreFoundation.CGFloat
|
|
170
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView?
|
|
171
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
|
|
172
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreFoundation.CGFloat
|
|
168
173
|
}
|
|
169
174
|
public enum LoaderPosition {
|
|
170
175
|
case middle
|
|
@@ -434,8 +439,20 @@ public protocol ResponseRequestable : IDWiseNFC.Requestable {
|
|
|
434
439
|
extension IDWiseNFC.Requestable {
|
|
435
440
|
public func urlRequest(with config: any IDWiseNFC.NetworkConfigurable) throws -> Foundation.URLRequest
|
|
436
441
|
}
|
|
442
|
+
public enum LogLevel : Swift.String {
|
|
443
|
+
case `default`
|
|
444
|
+
case verbose
|
|
445
|
+
public init?(rawValue: Swift.String)
|
|
446
|
+
public typealias RawValue = Swift.String
|
|
447
|
+
public var rawValue: Swift.String {
|
|
448
|
+
get
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
public struct IDWiseLogSettings {
|
|
452
|
+
public static func setLogLevel(_ level: IDWiseNFC.LogLevel)
|
|
453
|
+
}
|
|
437
454
|
public enum Model : Swift.String {
|
|
438
|
-
case simulator, iPad2, iPad3, iPad4, iPadAir, iPadAir2, iPadAir3, iPadAir4, iPad5, iPad6, iPad7, iPad8, iPad9, iPadMini, iPadMini2, iPadMini3, iPadMini4, iPadMini5, iPadMini6, iPadPro9_7, iPadPro10_5, iPadPro11, iPadPro2_11, iPadPro3_11, iPadPro12_9, iPadPro2_12_9, iPadPro3_12_9, iPadPro4_12_9, iPadPro5_12_9, iPhone4, iPhone4S, iPhone5, iPhone5S, iPhone5C, iPhone6, iPhone6Plus, iPhone6S, iPhone6SPlus, iPhoneSE, iPhone7, iPhone7Plus, iPhone8, iPhone8Plus, iPhoneX, iPhoneXS, iPhoneXSMax, iPhoneXR, iPhone11, iPhone11Pro, iPhone11ProMax, iPhoneSE2, iPhone12Mini, iPhone12, iPhone12Pro, iPhone12ProMax, iPhone13Mini, iPhone13, iPhone13Pro, iPhone13ProMax, iPhoneSE3, iPhone14, iPhone14Plus, iPhone14Pro, iPhone14ProMax, iPhone15, iPhone15Plus, iPhone15Pro, iPhone15ProMax, unrecognized
|
|
455
|
+
case simulator, iPad2, iPad3, iPad4, iPadAir, iPadAir2, iPadAir3, iPadAir4, iPad5, iPad6, iPad7, iPad8, iPad9, iPadMini, iPadMini2, iPadMini3, iPadMini4, iPadMini5, iPadMini6, iPadPro9_7, iPadPro10_5, iPadPro11, iPadPro2_11, iPadPro3_11, iPadPro12_9, iPadPro2_12_9, iPadPro3_12_9, iPadPro4_12_9, iPadPro5_12_9, iPhone4, iPhone4S, iPhone5, iPhone5S, iPhone5C, iPhone6, iPhone6Plus, iPhone6S, iPhone6SPlus, iPhoneSE, iPhone7, iPhone7Plus, iPhone8, iPhone8Plus, iPhoneX, iPhoneXS, iPhoneXSMax, iPhoneXR, iPhone11, iPhone11Pro, iPhone11ProMax, iPhoneSE2, iPhone12Mini, iPhone12, iPhone12Pro, iPhone12ProMax, iPhone13Mini, iPhone13, iPhone13Pro, iPhone13ProMax, iPhoneSE3, iPhone14, iPhone14Plus, iPhone14Pro, iPhone14ProMax, iPhone15, iPhone15Plus, iPhone15Pro, iPhone15ProMax, iPhone16, iPhone16Plus, iPhone16Pro, iPhone16ProMax, iPhone16e, unrecognized
|
|
439
456
|
public init?(rawValue: Swift.String)
|
|
440
457
|
public typealias RawValue = Swift.String
|
|
441
458
|
public var rawValue: Swift.String {
|
|
@@ -608,7 +625,7 @@ extension UIKit.UIImage {
|
|
|
608
625
|
public func cropped(to rect: CoreFoundation.CGRect?) -> UIKit.UIImage
|
|
609
626
|
}
|
|
610
627
|
extension UIKit.UIView {
|
|
611
|
-
@_Concurrency.MainActor
|
|
628
|
+
@_Concurrency.MainActor @preconcurrency public func addShadow(_ shadowColor: UIKit.UIColor)
|
|
612
629
|
}
|
|
613
630
|
public protocol Cancellable {
|
|
614
631
|
func cancel()
|
|
@@ -630,6 +647,9 @@ extension IDWiseNFC.BodyEncoding : Swift.Equatable {}
|
|
|
630
647
|
extension IDWiseNFC.BodyEncoding : Swift.Hashable {}
|
|
631
648
|
extension IDWiseNFC.BodyRequestType : Swift.Equatable {}
|
|
632
649
|
extension IDWiseNFC.BodyRequestType : Swift.Hashable {}
|
|
650
|
+
extension IDWiseNFC.LogLevel : Swift.Equatable {}
|
|
651
|
+
extension IDWiseNFC.LogLevel : Swift.Hashable {}
|
|
652
|
+
extension IDWiseNFC.LogLevel : Swift.RawRepresentable {}
|
|
633
653
|
extension IDWiseNFC.Model : Swift.Equatable {}
|
|
634
654
|
extension IDWiseNFC.Model : Swift.Hashable {}
|
|
635
655
|
extension IDWiseNFC.Model : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.10 (swiftlang-
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name IDWiseNFC
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
4
5
|
import AVFoundation
|
|
5
6
|
import AVKit
|
|
6
7
|
import AdSupport
|
|
@@ -15,7 +16,9 @@ import FingerprintPro
|
|
|
15
16
|
import Foundation
|
|
16
17
|
import MachO
|
|
17
18
|
import MobileCoreServices
|
|
19
|
+
import OSLog
|
|
18
20
|
import PDFKit
|
|
21
|
+
import ShieldFraud
|
|
19
22
|
import Swift
|
|
20
23
|
import SwiftUI
|
|
21
24
|
import SystemConfiguration
|
|
@@ -27,8 +30,10 @@ import Vision
|
|
|
27
30
|
import _Concurrency
|
|
28
31
|
import _StringProcessing
|
|
29
32
|
import _SwiftConcurrencyShims
|
|
33
|
+
import os.log
|
|
34
|
+
import os
|
|
30
35
|
extension UIKit.UIApplication {
|
|
31
|
-
@_Concurrency.MainActor
|
|
36
|
+
@_Concurrency.MainActor @preconcurrency public static var isRunningTest: Swift.Bool {
|
|
32
37
|
get
|
|
33
38
|
}
|
|
34
39
|
}
|
|
@@ -154,17 +159,17 @@ public struct ApiDataNetworkConfig : IDWiseNFC.NetworkConfigurable {
|
|
|
154
159
|
public var queryParameters: [Swift.String : Swift.String]
|
|
155
160
|
public init(baseURL: Foundation.URL, headers: [Swift.String : Swift.String] = [:], queryParameters: [Swift.String : Swift.String] = [:])
|
|
156
161
|
}
|
|
157
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor
|
|
158
|
-
@objc @IBOutlet @_Concurrency.MainActor
|
|
162
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class MenuWidgetView : UIKit.UIView {
|
|
163
|
+
@objc @IBOutlet @_Concurrency.MainActor @preconcurrency weak public var menuTableView: UIKit.UITableView!
|
|
159
164
|
@objc deinit
|
|
160
165
|
}
|
|
161
166
|
extension IDWiseNFC.MenuWidgetView : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource {
|
|
162
|
-
@_Concurrency.MainActor
|
|
163
|
-
@_Concurrency.MainActor
|
|
164
|
-
@_Concurrency.MainActor
|
|
165
|
-
@_Concurrency.MainActor
|
|
166
|
-
@_Concurrency.MainActor
|
|
167
|
-
@_Concurrency.MainActor
|
|
167
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int
|
|
168
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int
|
|
169
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreFoundation.CGFloat
|
|
170
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView?
|
|
171
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell
|
|
172
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForRowAt indexPath: Foundation.IndexPath) -> CoreFoundation.CGFloat
|
|
168
173
|
}
|
|
169
174
|
public enum LoaderPosition {
|
|
170
175
|
case middle
|
|
@@ -434,8 +439,20 @@ public protocol ResponseRequestable : IDWiseNFC.Requestable {
|
|
|
434
439
|
extension IDWiseNFC.Requestable {
|
|
435
440
|
public func urlRequest(with config: any IDWiseNFC.NetworkConfigurable) throws -> Foundation.URLRequest
|
|
436
441
|
}
|
|
442
|
+
public enum LogLevel : Swift.String {
|
|
443
|
+
case `default`
|
|
444
|
+
case verbose
|
|
445
|
+
public init?(rawValue: Swift.String)
|
|
446
|
+
public typealias RawValue = Swift.String
|
|
447
|
+
public var rawValue: Swift.String {
|
|
448
|
+
get
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
public struct IDWiseLogSettings {
|
|
452
|
+
public static func setLogLevel(_ level: IDWiseNFC.LogLevel)
|
|
453
|
+
}
|
|
437
454
|
public enum Model : Swift.String {
|
|
438
|
-
case simulator, iPad2, iPad3, iPad4, iPadAir, iPadAir2, iPadAir3, iPadAir4, iPad5, iPad6, iPad7, iPad8, iPad9, iPadMini, iPadMini2, iPadMini3, iPadMini4, iPadMini5, iPadMini6, iPadPro9_7, iPadPro10_5, iPadPro11, iPadPro2_11, iPadPro3_11, iPadPro12_9, iPadPro2_12_9, iPadPro3_12_9, iPadPro4_12_9, iPadPro5_12_9, iPhone4, iPhone4S, iPhone5, iPhone5S, iPhone5C, iPhone6, iPhone6Plus, iPhone6S, iPhone6SPlus, iPhoneSE, iPhone7, iPhone7Plus, iPhone8, iPhone8Plus, iPhoneX, iPhoneXS, iPhoneXSMax, iPhoneXR, iPhone11, iPhone11Pro, iPhone11ProMax, iPhoneSE2, iPhone12Mini, iPhone12, iPhone12Pro, iPhone12ProMax, iPhone13Mini, iPhone13, iPhone13Pro, iPhone13ProMax, iPhoneSE3, iPhone14, iPhone14Plus, iPhone14Pro, iPhone14ProMax, iPhone15, iPhone15Plus, iPhone15Pro, iPhone15ProMax, unrecognized
|
|
455
|
+
case simulator, iPad2, iPad3, iPad4, iPadAir, iPadAir2, iPadAir3, iPadAir4, iPad5, iPad6, iPad7, iPad8, iPad9, iPadMini, iPadMini2, iPadMini3, iPadMini4, iPadMini5, iPadMini6, iPadPro9_7, iPadPro10_5, iPadPro11, iPadPro2_11, iPadPro3_11, iPadPro12_9, iPadPro2_12_9, iPadPro3_12_9, iPadPro4_12_9, iPadPro5_12_9, iPhone4, iPhone4S, iPhone5, iPhone5S, iPhone5C, iPhone6, iPhone6Plus, iPhone6S, iPhone6SPlus, iPhoneSE, iPhone7, iPhone7Plus, iPhone8, iPhone8Plus, iPhoneX, iPhoneXS, iPhoneXSMax, iPhoneXR, iPhone11, iPhone11Pro, iPhone11ProMax, iPhoneSE2, iPhone12Mini, iPhone12, iPhone12Pro, iPhone12ProMax, iPhone13Mini, iPhone13, iPhone13Pro, iPhone13ProMax, iPhoneSE3, iPhone14, iPhone14Plus, iPhone14Pro, iPhone14ProMax, iPhone15, iPhone15Plus, iPhone15Pro, iPhone15ProMax, iPhone16, iPhone16Plus, iPhone16Pro, iPhone16ProMax, iPhone16e, unrecognized
|
|
439
456
|
public init?(rawValue: Swift.String)
|
|
440
457
|
public typealias RawValue = Swift.String
|
|
441
458
|
public var rawValue: Swift.String {
|
|
@@ -608,7 +625,7 @@ extension UIKit.UIImage {
|
|
|
608
625
|
public func cropped(to rect: CoreFoundation.CGRect?) -> UIKit.UIImage
|
|
609
626
|
}
|
|
610
627
|
extension UIKit.UIView {
|
|
611
|
-
@_Concurrency.MainActor
|
|
628
|
+
@_Concurrency.MainActor @preconcurrency public func addShadow(_ shadowColor: UIKit.UIColor)
|
|
612
629
|
}
|
|
613
630
|
public protocol Cancellable {
|
|
614
631
|
func cancel()
|
|
@@ -630,6 +647,9 @@ extension IDWiseNFC.BodyEncoding : Swift.Equatable {}
|
|
|
630
647
|
extension IDWiseNFC.BodyEncoding : Swift.Hashable {}
|
|
631
648
|
extension IDWiseNFC.BodyRequestType : Swift.Equatable {}
|
|
632
649
|
extension IDWiseNFC.BodyRequestType : Swift.Hashable {}
|
|
650
|
+
extension IDWiseNFC.LogLevel : Swift.Equatable {}
|
|
651
|
+
extension IDWiseNFC.LogLevel : Swift.Hashable {}
|
|
652
|
+
extension IDWiseNFC.LogLevel : Swift.RawRepresentable {}
|
|
633
653
|
extension IDWiseNFC.Model : Swift.Equatable {}
|
|
634
654
|
extension IDWiseNFC.Model : Swift.Hashable {}
|
|
635
655
|
extension IDWiseNFC.Model : Swift.RawRepresentable {}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,43 +1,14 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"shortDescription" : "https:\/\/github.com\/ultralytics\/yolov5",
|
|
4
3
|
"metadataOutputVersion" : "3.0",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"formattedType" : "MultiArray (Double 0 × 1)",
|
|
13
|
-
"type" : "MultiArray",
|
|
14
|
-
"shape" : "[0, 1]",
|
|
15
|
-
"name" : "confidence",
|
|
16
|
-
"shortDescription" : "Boxes × Class confidence (see user-defined metadata \"classes\")"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"dataType" : "Double",
|
|
20
|
-
"hasShapeFlexibility" : "1",
|
|
21
|
-
"isOptional" : "0",
|
|
22
|
-
"shapeFlexibility" : "0... × 4",
|
|
23
|
-
"shapeRange" : "[[0, -1], [4, 4]]",
|
|
24
|
-
"formattedType" : "MultiArray (Double 0 × 4)",
|
|
25
|
-
"type" : "MultiArray",
|
|
26
|
-
"shape" : "[0, 4]",
|
|
27
|
-
"name" : "coordinates",
|
|
28
|
-
"shortDescription" : "Boxes × [x, y, width, height] (relative to image size)"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"version" : "https:\/\/github.com\/ultralytics\/yolov5",
|
|
32
|
-
"modelParameters" : [
|
|
33
|
-
|
|
4
|
+
"userDefinedMetadata" : {
|
|
5
|
+
"confidence_threshold" : "0.25",
|
|
6
|
+
"iou_threshold" : "0.45",
|
|
7
|
+
"classes" : "Doc"
|
|
8
|
+
},
|
|
9
|
+
"classLabels" : [
|
|
10
|
+
"Doc"
|
|
34
11
|
],
|
|
35
|
-
"author" : "glenn.jocher@ultralytics.com",
|
|
36
|
-
"specificationVersion" : 4,
|
|
37
|
-
"storagePrecision" : "Mixed (Float32, Int8)",
|
|
38
|
-
"license" : "https:\/\/github.com\/ultralytics\/yolov5\/blob\/master\/LICENSE",
|
|
39
|
-
"computePrecision" : "Float16",
|
|
40
|
-
"isUpdatable" : "0",
|
|
41
12
|
"availability" : {
|
|
42
13
|
"macOS" : "10.15",
|
|
43
14
|
"tvOS" : "13.0",
|
|
@@ -46,17 +17,6 @@
|
|
|
46
17
|
"iOS" : "13.0",
|
|
47
18
|
"macCatalyst" : "13.0"
|
|
48
19
|
},
|
|
49
|
-
"modelType" : {
|
|
50
|
-
"name" : "MLModelType_pipeline",
|
|
51
|
-
"structure" : [
|
|
52
|
-
{
|
|
53
|
-
"name" : "MLModelType_neuralNetwork"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name" : "MLModelType_nonMaximumSuppression"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
20
|
"inputSchema" : [
|
|
61
21
|
{
|
|
62
22
|
"height" : "640",
|
|
@@ -85,31 +45,74 @@
|
|
|
85
45
|
"shortDescription" : "(optional) Confidence Threshold override (default: 0.25)"
|
|
86
46
|
}
|
|
87
47
|
],
|
|
88
|
-
"
|
|
89
|
-
|
|
48
|
+
"outputSchema" : [
|
|
49
|
+
{
|
|
50
|
+
"dataType" : "Double",
|
|
51
|
+
"hasShapeFlexibility" : "1",
|
|
52
|
+
"isOptional" : "0",
|
|
53
|
+
"shapeFlexibility" : "0... × 1",
|
|
54
|
+
"shapeRange" : "[[0, -1], [1, 1]]",
|
|
55
|
+
"formattedType" : "MultiArray (Double 0 × 1)",
|
|
56
|
+
"type" : "MultiArray",
|
|
57
|
+
"shape" : "[0, 1]",
|
|
58
|
+
"name" : "confidence",
|
|
59
|
+
"shortDescription" : "Boxes × Class confidence (see user-defined metadata \"classes\")"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"dataType" : "Double",
|
|
63
|
+
"hasShapeFlexibility" : "1",
|
|
64
|
+
"isOptional" : "0",
|
|
65
|
+
"shapeFlexibility" : "0... × 4",
|
|
66
|
+
"shapeRange" : "[[0, -1], [4, 4]]",
|
|
67
|
+
"formattedType" : "MultiArray (Double 0 × 4)",
|
|
68
|
+
"type" : "MultiArray",
|
|
69
|
+
"shape" : "[0, 4]",
|
|
70
|
+
"name" : "coordinates",
|
|
71
|
+
"shortDescription" : "Boxes × [x, y, width, height] (relative to image size)"
|
|
72
|
+
}
|
|
90
73
|
],
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"classes" : "Doc"
|
|
96
|
-
},
|
|
74
|
+
"modelParameters" : [
|
|
75
|
+
|
|
76
|
+
],
|
|
77
|
+
"storagePrecision" : "Mixed (Float32, Int8)",
|
|
97
78
|
"neuralNetworkLayerTypeHistogram" : {
|
|
98
79
|
"Concat" : 13,
|
|
99
80
|
"UnaryPower" : 3,
|
|
100
81
|
"Convolution" : 60,
|
|
101
|
-
"
|
|
82
|
+
"PoolingINVALID" : 3,
|
|
83
|
+
"Transpose" : 3,
|
|
102
84
|
"ReshapeStatic" : 6,
|
|
85
|
+
"UpsampleINVALID" : 2,
|
|
103
86
|
"LoadConstantND" : 6,
|
|
104
|
-
"
|
|
105
|
-
"UpsampleNearestNeighbor" : 2,
|
|
106
|
-
"PoolingMax" : 3,
|
|
87
|
+
"ActivationSigmoid" : 60,
|
|
107
88
|
"SplitND" : 4,
|
|
108
89
|
"Squeeze" : 1,
|
|
109
|
-
"Add" : 10,
|
|
110
90
|
"Multiply" : 71,
|
|
91
|
+
"Add" : 10,
|
|
111
92
|
"ConcatND" : 4
|
|
112
93
|
},
|
|
113
|
-
"method" : "predict"
|
|
94
|
+
"method" : "predict",
|
|
95
|
+
"version" : "https:\/\/github.com\/ultralytics\/yolov5",
|
|
96
|
+
"isUpdatable" : "0",
|
|
97
|
+
"specificationVersion" : 4,
|
|
98
|
+
"stateSchema" : [
|
|
99
|
+
|
|
100
|
+
],
|
|
101
|
+
"computePrecision" : "Float16",
|
|
102
|
+
"shortDescription" : "https:\/\/github.com\/ultralytics\/yolov5",
|
|
103
|
+
"license" : "https:\/\/github.com\/ultralytics\/yolov5\/blob\/master\/LICENSE",
|
|
104
|
+
"generatedClassName" : "document_detector",
|
|
105
|
+
"author" : "glenn.jocher@ultralytics.com",
|
|
106
|
+
"modelType" : {
|
|
107
|
+
"name" : "MLModelType_pipeline",
|
|
108
|
+
"structure" : [
|
|
109
|
+
{
|
|
110
|
+
"name" : "MLModelType_neuralNetwork"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name" : "MLModelType_nonMaximumSuppression"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
114
117
|
}
|
|
115
118
|
]
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"specificationVersion" : 4,
|
|
26
26
|
"computePrecision" : "Float16",
|
|
27
27
|
"isUpdatable" : "0",
|
|
28
|
+
"stateSchema" : [
|
|
29
|
+
|
|
30
|
+
],
|
|
28
31
|
"availability" : {
|
|
29
32
|
"macOS" : "10.15",
|
|
30
33
|
"tvOS" : "13.0",
|
|
@@ -36,21 +39,6 @@
|
|
|
36
39
|
"modelType" : {
|
|
37
40
|
"name" : "MLModelType_neuralNetworkClassifier"
|
|
38
41
|
},
|
|
39
|
-
"userDefinedMetadata" : {
|
|
40
|
-
"com.github.apple.coremltools.version" : "6.2",
|
|
41
|
-
"com.github.apple.coremltools.source" : "torch==1.12.1"
|
|
42
|
-
},
|
|
43
|
-
"classLabels" : [
|
|
44
|
-
"good_quality_score",
|
|
45
|
-
"blur_quality_score",
|
|
46
|
-
"compression_quality_score",
|
|
47
|
-
"glare_quality_score",
|
|
48
|
-
"grainy_noise_quality_score",
|
|
49
|
-
"low_brightness_quality_score",
|
|
50
|
-
"over_exposure_quality_score",
|
|
51
|
-
"none_id_score"
|
|
52
|
-
],
|
|
53
|
-
"generatedClassName" : "document_quality_model",
|
|
54
42
|
"inputSchema" : [
|
|
55
43
|
{
|
|
56
44
|
"height" : "512",
|
|
@@ -65,14 +53,29 @@
|
|
|
65
53
|
"name" : "input_1"
|
|
66
54
|
}
|
|
67
55
|
],
|
|
56
|
+
"classLabels" : [
|
|
57
|
+
"good_quality_score",
|
|
58
|
+
"blur_quality_score",
|
|
59
|
+
"compression_quality_score",
|
|
60
|
+
"glare_quality_score",
|
|
61
|
+
"grainy_noise_quality_score",
|
|
62
|
+
"low_brightness_quality_score",
|
|
63
|
+
"over_exposure_quality_score",
|
|
64
|
+
"none_id_score"
|
|
65
|
+
],
|
|
66
|
+
"generatedClassName" : "document_quality_model",
|
|
67
|
+
"userDefinedMetadata" : {
|
|
68
|
+
"com.github.apple.coremltools.version" : "6.2",
|
|
69
|
+
"com.github.apple.coremltools.source" : "torch==1.12.1"
|
|
70
|
+
},
|
|
68
71
|
"neuralNetworkLayerTypeHistogram" : {
|
|
69
72
|
"ReshapeStatic" : 1,
|
|
70
|
-
"Add" : 10,
|
|
71
73
|
"PoolingAverage" : 1,
|
|
74
|
+
"Add" : 10,
|
|
72
75
|
"Clip" : 35,
|
|
73
76
|
"Convolution" : 52,
|
|
74
|
-
"
|
|
75
|
-
"
|
|
77
|
+
"InnerProduct" : 1,
|
|
78
|
+
"ActivationSigmoid" : 1
|
|
76
79
|
},
|
|
77
80
|
"method" : "predict"
|
|
78
81
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|