Commit e56c8c6b authored by Javokhir's avatar Javokhir
Browse files

2.3.3

parent 66252f44
No preview for this file type
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## User settings
xcuserdata/
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
## Obj-C/Swift specific
*.hmap
## App packaging
*.ipa
*.dSYM.zip
*.dSYM
## Playgrounds
timeline.xctimeline
playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm
.build/
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
Carthage/Build/
# Accio dependency management
Dependencies/
.accio/
# fastlane
#
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode
iOSInjectionProject/
\ No newline at end of file
# CHANGELOG
## [2.3.3] - 12 Jul, 2024
- Added new `distance: Float` method to sets the distance for taking photo.
## [2.3.2] - 15 Jun, 2024
- Maximized efficiency in identification processes for capturing and loading operations
## [2.3.1] - 15 May, 2024
- 🔨 Resolved CameraX Preview static screen: Addressed an issue causing the CameraX preview to display a static screen on specific devices.
## [2.3.0] - 9 Apr, 2024
- 🔨 Resolved CameraX Preview black screen: Addressed an issue causing the CameraX preview to display a black screen on specific devices.
## [2.2.9] - 21 Feb, 2023
- 🔨 Addressed identification bug on iPhone 7 and earlier devices.
## [2.2.6 - 2.2.8] - 1 Feb, 2023
- Added configurations for allowing transactions of foreign based end-users.
- Range for available face comparison `threshold` is now between 0.55 and 0.99, and it defaults to 0.55 now.
## [2.2.5] - 3 Nov, 2023
- Added new `minAge: Int` method for the minimum age to use the MyID service.
- Added error texts in inputs.
## [2.2.2 - 2.2.4] - 19 Oct, 2023
- Added enhanced security measures.
- Added new `clientHash` and `clientHashId` methods. Those are mandatory if using entryType = AUTH.
- 🤩 New measures of spoof detection, with zero penetration rate.
## [2.2.1] - 25 Aug, 2023
- Dev base url changed to [devmyid.uz](https://devmyid.uz/).
## [2.2.0] 24 Jul, 2023
### New features
- 🔥 Converted to CocoaPods.
## [2.1.1] - 20 Jun, 2023
- Added new `withResolution(value: MyIdResolution)` method for resolution.
## [2.1.0] 8 May, 2023
### New features
- 🔥 Added new ability to customize the colors, buttons and strings used in the SDK flow.
- 🤩 Added new Driver license detection.
### Fixes
- 🔨 `KEY_NOT_FOUND` bug fixed.
## [2.0.9] 12 Apr, 2023
### New features
- 📦 Added Flutter support in `flutter-sample` folder.
- 🤩 Removed MLKit pod, and reduced SDK size from 100+ MB to just **8 MB**.
### Fixes
- 🔨 Fixed bug with freezing on flutter after authorization.
- 🔨 Fixed organization logo not showing up in passport data entry view.
## [2.0.8] 21 Feb, 2023
### New features
- 🔥 Added `residency` option, which enables the non-resident also to register through you application. The options are `USER_DEFINED`, `RESIDENT` and `NON_RESIDENT`. In user defined, once the PINFL is entered - it shows the prompt whether user is non-resident. In `RESIDENT` and `NON_RESIDENT` user cannot choose the request type, but the corresponding request will be sent.
### Fixes
- 🔨 From now on, messages from backend are translated (the ones that have status 103), when returned to parent app, thanks to added `Content-Language` parameter in the request for status.
## [2.0.6] 25 Nov, 2022
### Changed features
- The versions of Xcode and Swift has been updated: **Xcode** to `14.1` and **Swift** to `5.7.1`.
### Fixes
- 🔨 Method `onUserExited()` is now triggered not only when the exit button is pressed, but also when force exit has been performed by user.
- 🔨 If user rejects to provide the camera permission to the app, the app keeps asking until it is provided.
#### The iOS SDK supports the customization of colors, buttons and strings used in the SDK flow.
- [Localization](#localization)
- [Custom Organization Details](#custom-organization-details)
- [UI customization](#ui-customization)
## Localization
The MyID iOS SDK supports translations for the following languages
- Uzbek (uz) 🇺🇿
- English (en) 🇬🇧
- Russian (ru) 🇷🇺
By default, the Uzbek language is used. However, you can also change options `config.locale = MyIdLocale.EN` configuration to set the language.
## Custom Organization Details
You can customize the SDK, for it to match your organization's brand book, by providing `MyIdOrganizationDetails` object to `organizationDetails` option.
The object allows you to customize following fields:
- *phoneNumber* - by default 712022202, which is MyID's call center. If you would like the customer to call your own call center, you can display your own phone number on the error screen, by providing it in this field (sample).
- *logo* - UIImage object, that will be displayed on the input screen. If you would like to display your own logo on the top of the screen, this is the place to provide it.
## UI customization
```Swift
let appearance = Appearance()
appearance.primaryColor = <DESIRED_UI_COLOR_HERE>
appearance.errorColor = <DESIRED_UI_COLOR_HERE>
appearance.primaryButtonColor = <DESIRED_UI_COLOR_HERE>
appearance.primaryButtonColorDisabled = <DESIRED_UI_COLOR_HERE>
appearance.primaryButtonTextColor = <DESIRED_UI_COLOR_HERE>
appearance.primaryButtonTextColorDisabled = <DESIRED_UI_COLOR_HERE>
appearance.buttonCornerRadius = <DESIRED_CGFLOAT_BORDER_RADIUS_HERE>
```
* `primaryColor`: Defines the color of SDK which guides the user through the flow
* `errorColor`: Defines the color of the error buttons, icons and states
* `primaryButtonColor`: Defines the background color of the primary action buttons
* `primaryButtonColorDisabled`: Defines the background color of the primary disabled buttons
* `primaryButtonTextColor`: Defines the color of the text inside the primary action buttons
* `primaryButtonTextColorDisabled`: Defines the color of the text inside the primary disabled buttons
* `buttonCornerRadius`: Defines the radius dimension of all the corners of primary buttons
#
![Screenshot](images/frame_1.jpg)
![Screenshot](images/frame_2.jpg)
![Screenshot](images/frame_3.jpg)
![Screenshot](images/frame_4.jpg)
### Manual Installation
![Xcode manual installation steps](images/xcode_manual_installation.png)
1. Select your project in Xcode.
2. Select your app target.
3. Select the **General** tab and then scroll down to **Frameworks, Libraries, and Embedded Content**.
4. Add the following files from the [release assets](https://gitlab.myid.uz/myid-public-code/myid-ios-sdk/-/releases):
- `MyIdSDK.xcframework`
> **Note**: Ensure you add the .xcframework files, rather than the .framework files.
5. Under the **Embed** column, ensure **Embed & Sign** is set for MyIdSDK framework.
......@@ -5,12 +5,12 @@ Pod::Spec.new do |spec|
spec.ios.deployment_target = '12.0'
spec.summary = "MyID Framework"
spec.description = "MyID Framework for iOS"
spec.homepage = "https://gitlab.myid.uz/myid-public-code/myid-sample-ios"
spec.documentation_url = "https://gitlab.myid.uz/myid-public-code/myid-sample-ios"
spec.homepage = "https://gitlab.myid.uz/myid-public-code/myid-ios-sdk"
spec.documentation_url = "https://gitlab.myid.uz/myid-public-code/myid-ios-sdk"
spec.swift_versions = '5.0'
spec.license = { :type => 'Commercial', :text => 'See www.myid.uz' }
spec.author = { "Uzinfocom" => "..." }
spec.swift_version = "5.8"
spec.source = { :git => "https://github.com/javokhirsavriev/myid-ios-sdk.git", :tag => spec.version }
spec.source = { :git => "https://gitlab.myid.uz/myid-public-code/myid-ios-sdk", :tag => spec.version }
spec.ios.vendored_frameworks = 'MyIdSDK.xcframework'
end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>MyIdSDK.framework/MyIdSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>MyIdSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>MyIdSDK.framework/MyIdSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>MyIdSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
#ifndef MYIDSDK_SWIFT_H
#define MYIDSDK_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"
#if !defined(__has_include)
# define __has_include(x) 0
#endif
#if !defined(__has_attribute)
# define __has_attribute(x) 0
#endif
#if !defined(__has_feature)
# define __has_feature(x) 0
#endif
#if !defined(__has_warning)
# define __has_warning(x) 0
#endif
#if __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wauto-import"
#if defined(__OBJC__)
#include <Foundation/Foundation.h>
#endif
#if defined(__cplusplus)
#include <cstdint>
#include <cstddef>
#include <cstdbool>
#include <cstring>
#include <stdlib.h>
#include <new>
#include <type_traits>
#else
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <string.h>
#endif
#if defined(__cplusplus)
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h>
#else
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
# ifndef __ptrauth_swift_value_witness_function_pointer
# define __ptrauth_swift_value_witness_function_pointer(x)
# endif
# ifndef __ptrauth_swift_class_method_pointer
# define __ptrauth_swift_class_method_pointer(x)
# endif
#pragma clang diagnostic pop
#endif
#endif
#if !defined(SWIFT_TYPEDEFS)
# define SWIFT_TYPEDEFS 1
# if __has_include(<uchar.h>)
# include <uchar.h>
# elif !defined(__cplusplus)
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif
#if !defined(SWIFT_PASTE)
# define SWIFT_PASTE_HELPER(x, y) x##y
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
#endif
#if !defined(SWIFT_METATYPE)
# define SWIFT_METATYPE(X) Class
#endif
#if !defined(SWIFT_CLASS_PROPERTY)
# if __has_feature(objc_class_property)
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
# else
# define SWIFT_CLASS_PROPERTY(...)
# endif
#endif
#if !defined(SWIFT_RUNTIME_NAME)
# if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
# else
# define SWIFT_RUNTIME_NAME(X)
# endif
#endif
#if !defined(SWIFT_COMPILE_NAME)
# if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
# else
# define SWIFT_COMPILE_NAME(X)
# endif
#endif
#if !defined(SWIFT_METHOD_FAMILY)
# if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
# else
# define SWIFT_METHOD_FAMILY(X)
# endif
#endif
#if !defined(SWIFT_NOESCAPE)
# if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
# else
# define SWIFT_NOESCAPE
# endif
#endif
#if !defined(SWIFT_RELEASES_ARGUMENT)
# if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
# else
# define SWIFT_RELEASES_ARGUMENT
# endif
#endif
#if !defined(SWIFT_WARN_UNUSED_RESULT)
# if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
# else
# define SWIFT_WARN_UNUSED_RESULT
# endif
#endif
#if !defined(SWIFT_NORETURN)
# if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
# else
# define SWIFT_NORETURN
# endif
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
#if !defined(SWIFT_PROTOCOL_EXTRA)
# define SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_ENUM_EXTRA)
# define SWIFT_ENUM_EXTRA
#endif
#if !defined(SWIFT_CLASS)
# if __has_attribute(objc_subclassing_restricted)
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# else
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif
#if !defined(SWIFT_RESILIENT_CLASS)
# if __has_attribute(objc_class_stub)
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
# else
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif
#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif
#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
# else
# define OBJC_DESIGNATED_INITIALIZER
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if __has_attribute(enum_extensibility)
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
# define SWIFT_ENUM_ATTR(_extensibility)
# endif
#endif
#if !defined(SWIFT_ENUM)
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# if __has_feature(generalized_swift_name)
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# else
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
# endif
#endif
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_WEAK_IMPORT)
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if !defined(SWIFT_DEPRECATED_OBJC)
# if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
# else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
# endif
#endif
#if defined(__OBJC__)
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#endif
#if !defined(SWIFT_EXTERN)
# if defined(__cplusplus)
# define SWIFT_EXTERN extern "C"
# else
# define SWIFT_EXTERN extern
# endif
#endif
#if !defined(SWIFT_CALL)
# define SWIFT_CALL __attribute__((swiftcall))
#endif
#if !defined(SWIFT_INDIRECT_RESULT)
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
#endif
#if !defined(SWIFT_CONTEXT)
# define SWIFT_CONTEXT __attribute__((swift_context))
#endif
#if !defined(SWIFT_ERROR_RESULT)
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
#endif
#if defined(__cplusplus)
# define SWIFT_NOEXCEPT noexcept
#else
# define SWIFT_NOEXCEPT
#endif
#if !defined(SWIFT_C_INLINE_THUNK)
# if __has_attribute(always_inline)
# if __has_attribute(nodebug)
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
# else
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
# endif
# else
# define SWIFT_C_INLINE_THUNK inline
# endif
#endif
#if defined(_WIN32)
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
#endif
#else
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL
#endif
#endif
#if defined(__OBJC__)
#if __has_feature(objc_modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import ObjectiveC;
#endif
#endif
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
# undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="MyIdSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any")
#endif
#if defined(__OBJC__)
@class UIColor;
SWIFT_CLASS("_TtC7MyIdSDK14MyIdAppearance")
@interface MyIdAppearance : NSObject
@property (nonatomic, strong) UIColor * _Nullable primaryColor;
@property (nonatomic, strong) UIColor * _Nullable errorColor;
@property (nonatomic, strong) UIColor * _Nullable primaryButtonColor;
@property (nonatomic, strong) UIColor * _Nullable primaryButtonColorDisabled;
@property (nonatomic, strong) UIColor * _Nullable primaryButtonTextColor;
@property (nonatomic, strong) UIColor * _Nullable primaryButtonTextColorDisabled;
@property (nonatomic) float buttonCornerRadius;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
typedef SWIFT_ENUM(NSInteger, MyIdBuildMode, open) {
MyIdBuildModeDEBUG = 0,
MyIdBuildModePRODUCTION = 1,
};
typedef SWIFT_ENUM(NSInteger, MyIdCameraSelector, open) {
MyIdCameraSelectorFRONT = 0,
MyIdCameraSelectorBACK = 1,
};
typedef SWIFT_ENUM(NSInteger, MyIdCameraShape, open) {
MyIdCameraShapeELLIPSE = 0,
MyIdCameraShapeCIRCLE = 1,
};
@class MyIdConfig;
@protocol MyIdClientDelegate;
@class UIViewController;
SWIFT_CLASS("_TtC7MyIdSDK10MyIdClient")
@interface MyIdClient : NSObject
+ (void)startWithConfig:(MyIdConfig * _Nonnull)config withDelegate:(id <MyIdClientDelegate> _Nonnull)delegate;
+ (UIViewController * _Nonnull)runWithConfig:(MyIdConfig * _Nonnull)config withDelegate:(id <MyIdClientDelegate> _Nonnull)delegate SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@class MyIdResult;
@class MyIdException;
SWIFT_PROTOCOL("_TtP7MyIdSDK18MyIdClientDelegate_")
@protocol MyIdClientDelegate
- (void)onSuccessWithResult:(MyIdResult * _Nonnull)result;
- (void)onErrorWithException:(MyIdException * _Nonnull)exception;
- (void)onUserExited;
@end
@class NSString;
enum MyIdEntryType : NSInteger;
enum MyIdResidency : NSInteger;
enum MyIdLocale : NSInteger;
enum MyIdResolution : NSInteger;
enum MyIdPresentationStyle : NSInteger;
@class MyIdOrganizationDetails;
SWIFT_CLASS("_TtC7MyIdSDK10MyIdConfig")
@interface MyIdConfig : NSObject
@property (nonatomic, copy) NSString * _Nullable clientId;
@property (nonatomic, copy) NSString * _Nullable clientHash;
@property (nonatomic, copy) NSString * _Nullable clientHashId;
@property (nonatomic, copy) NSString * _Nullable passportData;
@property (nonatomic, copy) NSString * _Nullable dateOfBirth;
@property (nonatomic) NSInteger minAge;
@property (nonatomic, copy) NSString * _Nullable sdkHash;
@property (nonatomic, copy) NSString * _Nullable externalId;
@property (nonatomic) float threshold;
@property (nonatomic) enum MyIdBuildMode buildMode;
@property (nonatomic) enum MyIdEntryType entryType;
@property (nonatomic) enum MyIdResidency residency;
@property (nonatomic) enum MyIdLocale locale;
@property (nonatomic) enum MyIdCameraShape cameraShape;
@property (nonatomic) enum MyIdResolution resolution;
@property (nonatomic) enum MyIdCameraSelector cameraSelector;
@property (nonatomic) enum MyIdPresentationStyle presentationStyle;
@property (nonatomic, strong) MyIdOrganizationDetails * _Nullable organizationDetails;
@property (nonatomic, strong) MyIdAppearance * _Nullable appearance;
@property (nonatomic) BOOL withPhoto;
@property (nonatomic) float distance;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
typedef SWIFT_ENUM(NSInteger, MyIdDocumentType, open) {
MyIdDocumentTypeID_CARD = 0,
MyIdDocumentTypePASSPORT = 1,
MyIdDocumentTypeDRIVER_LICENSE = 2,
};
typedef SWIFT_ENUM(NSInteger, MyIdEntryType, open) {
MyIdEntryTypeAUTH = 0,
MyIdEntryTypeFACE = 1,
};
SWIFT_CLASS("_TtC7MyIdSDK13MyIdException")
@interface MyIdException : NSObject
@property (nonatomic, copy) NSString * _Nullable message;
@property (nonatomic, copy) NSString * _Nullable code;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC7MyIdSDK13MyIdGenerator")
@interface MyIdGenerator : NSObject
+ (NSString * _Nullable)hashWithPayload:(NSString * _Nonnull)payload clientHash:(NSString * _Nonnull)clientHash clientHashId:(NSString * _Nonnull)clientHashId SWIFT_WARN_UNUSED_RESULT;
+ (NSString * _Nonnull)device SWIFT_WARN_UNUSED_RESULT;
+ (NSString * _Nullable)deviceModel SWIFT_WARN_UNUSED_RESULT;
+ (NSString * _Nullable)deviceName SWIFT_WARN_UNUSED_RESULT;
+ (NSString * _Nullable)systemName SWIFT_WARN_UNUSED_RESULT;
+ (NSString * _Nullable)systemVersion SWIFT_WARN_UNUSED_RESULT;
+ (BOOL)isPhone SWIFT_WARN_UNUSED_RESULT;
+ (BOOL)isPad SWIFT_WARN_UNUSED_RESULT;
+ (BOOL)isSimulator SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
typedef SWIFT_ENUM(NSInteger, MyIdLocale, open) {
MyIdLocaleRU = 0,
MyIdLocaleEN = 1,
MyIdLocaleUZ = 2,
MyIdLocaleKY = 3,
};
@class UIImage;
SWIFT_CLASS("_TtC7MyIdSDK23MyIdOrganizationDetails")
@interface MyIdOrganizationDetails : NSObject
@property (nonatomic, copy) NSString * _Nullable phoneNumber;
@property (nonatomic, strong) UIImage * _Nullable logo;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
typedef SWIFT_ENUM(NSInteger, MyIdPresentationStyle, open) {
MyIdPresentationStyleFULL = 0,
MyIdPresentationStyleSHEET = 1,
};
typedef SWIFT_ENUM(NSInteger, MyIdResidency, open) {
MyIdResidencyUSER_DEFINED = 0,
MyIdResidencyRESIDENT = 1,
MyIdResidencyNON_RESIDENT = 2,
};
typedef SWIFT_ENUM(NSInteger, MyIdResolution, open) {
MyIdResolutionRESOLUTION_480 = 0,
MyIdResolutionRESOLUTION_720 = 1,
};
SWIFT_CLASS("_TtC7MyIdSDK10MyIdResult")
@interface MyIdResult : NSObject
@property (nonatomic, strong) UIImage * _Nullable image;
@property (nonatomic, copy) NSString * _Nullable code;
@property (nonatomic, copy) NSString * _Nullable comparisonValue;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#if defined(__cplusplus)
#endif
#pragma clang diagnostic pop
#endif
#else
#error unsupported Swift architecture
#endif
//
// MyIdSDK.h
// MyIdSDK
//
// Created by Javokhir Savriev
//
#import <Foundation/Foundation.h>
//! Project version number for MyIdSDK.
FOUNDATION_EXPORT double MyIdSDKVersionNumber;
//! Project version string for MyIdSDK.
FOUNDATION_EXPORT const unsigned char MyIdSDKVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <MyIdSDK/PublicHeader.h>
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name MyIdSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFoundation
import CoreImage.CIFilterBuiltins
import Combine
import CommonCrypto
import Compression
import CoreImage
import CoreVideo
import CryptoKit
import DeveloperToolsSupport
import Foundation
import LocalAuthentication
@_exported import MyIdSDK
import Security
import Swift
import SwiftUI
import UIKit
import Vision
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc public enum MyIdCameraSelector : Swift.Int {
case FRONT = 0
case BACK
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc public class MyIdException : ObjectiveC.NSObject {
@objc public var message: Swift.String?
@objc public var code: Swift.String?
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class MyIdConfig : ObjectiveC.NSObject {
@objc public var clientId: Swift.String?
@objc public var clientHash: Swift.String?
@objc public var clientHashId: Swift.String?
@objc public var passportData: Swift.String?
@objc public var dateOfBirth: Swift.String?
@objc public var minAge: Swift.Int
@objc public var sdkHash: Swift.String?
@objc public var externalId: Swift.String?
@objc public var threshold: Swift.Float
@objc public var buildMode: MyIdSDK.MyIdBuildMode
@objc public var entryType: MyIdSDK.MyIdEntryType
@objc public var residency: MyIdSDK.MyIdResidency
@objc public var locale: MyIdSDK.MyIdLocale
@objc public var cameraShape: MyIdSDK.MyIdCameraShape
@objc public var resolution: MyIdSDK.MyIdResolution
@objc public var cameraSelector: MyIdSDK.MyIdCameraSelector
@objc public var presentationStyle: MyIdSDK.MyIdPresentationStyle
@objc public var organizationDetails: MyIdSDK.MyIdOrganizationDetails?
@objc public var appearance: MyIdSDK.MyIdAppearance?
@objc public var withPhoto: Swift.Bool
@objc public var distance: Swift.Float
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdPresentationStyle : Swift.Int {
case FULL = 0
case SHEET
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdResidency : Swift.Int {
case USER_DEFINED = 0
case RESIDENT
case NON_RESIDENT
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdEntryType : Swift.Int {
case AUTH = 0
case FACE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdResolution : Swift.Int {
case RESOLUTION_480 = 0
case RESOLUTION_720
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc public class MyIdAppearance : ObjectiveC.NSObject {
@objc public var primaryColor: UIKit.UIColor?
@objc public var errorColor: UIKit.UIColor?
@objc public var primaryButtonColor: UIKit.UIColor?
@objc public var primaryButtonColorDisabled: UIKit.UIColor?
@objc public var primaryButtonTextColor: UIKit.UIColor?
@objc public var primaryButtonTextColorDisabled: UIKit.UIColor?
@objc public var buttonCornerRadius: Swift.Float
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class MyIdGenerator : ObjectiveC.NSObject {
@objc public class func hash(payload: Swift.String, clientHash: Swift.String, clientHashId: Swift.String) -> Swift.String?
@objc public class func device() -> Swift.String
@objc public class func deviceModel() -> Swift.String?
@objc public class func deviceName() -> Swift.String?
@objc public class func systemName() -> Swift.String?
@objc public class func systemVersion() -> Swift.String?
@objc public class func isPhone() -> Swift.Bool
@objc public class func isPad() -> Swift.Bool
@objc public class func isSimulator() -> Swift.Bool
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdDocumentType : Swift.Int {
case ID_CARD = 0
case PASSPORT
case DRIVER_LICENSE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdBuildMode : Swift.Int {
case DEBUG = 0
case PRODUCTION
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension Swift.String : Swift.Error {
}
@_inheritsConvenienceInitializers @objc public class MyIdResult : ObjectiveC.NSObject {
@objc public var image: UIKit.UIImage?
@objc public var code: Swift.String?
@objc public var comparisonValue: Swift.String?
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdLocale : Swift.Int {
case RU = 0
case EN
case UZ
case KY
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdCameraShape : Swift.Int {
case ELLIPSE = 0
case CIRCLE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc public class MyIdOrganizationDetails : ObjectiveC.NSObject {
@objc public var phoneNumber: Swift.String?
@objc public var logo: UIKit.UIImage?
@objc override dynamic public init()
@objc deinit
}
@objc public protocol MyIdClientDelegate {
@objc func onSuccess(result: MyIdSDK.MyIdResult)
@objc func onError(exception: MyIdSDK.MyIdException)
@objc func onUserExited()
}
@_inheritsConvenienceInitializers @objc public class MyIdClient : ObjectiveC.NSObject {
@objc public class func start(withConfig config: MyIdSDK.MyIdConfig, withDelegate delegate: any MyIdSDK.MyIdClientDelegate)
@objc public class func run(withConfig config: MyIdSDK.MyIdConfig, withDelegate delegate: any MyIdSDK.MyIdClientDelegate) -> UIKit.UIViewController
@objc override dynamic public init()
@objc deinit
}
extension MyIdSDK.MyIdCameraSelector : Swift.Equatable {}
extension MyIdSDK.MyIdCameraSelector : Swift.Hashable {}
extension MyIdSDK.MyIdCameraSelector : Swift.RawRepresentable {}
extension MyIdSDK.MyIdPresentationStyle : Swift.Equatable {}
extension MyIdSDK.MyIdPresentationStyle : Swift.Hashable {}
extension MyIdSDK.MyIdPresentationStyle : Swift.RawRepresentable {}
extension MyIdSDK.MyIdResidency : Swift.Equatable {}
extension MyIdSDK.MyIdResidency : Swift.Hashable {}
extension MyIdSDK.MyIdResidency : Swift.RawRepresentable {}
extension MyIdSDK.MyIdEntryType : Swift.Equatable {}
extension MyIdSDK.MyIdEntryType : Swift.Hashable {}
extension MyIdSDK.MyIdEntryType : Swift.RawRepresentable {}
extension MyIdSDK.MyIdResolution : Swift.Equatable {}
extension MyIdSDK.MyIdResolution : Swift.Hashable {}
extension MyIdSDK.MyIdResolution : Swift.RawRepresentable {}
extension MyIdSDK.MyIdDocumentType : Swift.Equatable {}
extension MyIdSDK.MyIdDocumentType : Swift.Hashable {}
extension MyIdSDK.MyIdDocumentType : Swift.RawRepresentable {}
extension MyIdSDK.MyIdBuildMode : Swift.Equatable {}
extension MyIdSDK.MyIdBuildMode : Swift.Hashable {}
extension MyIdSDK.MyIdBuildMode : Swift.RawRepresentable {}
extension MyIdSDK.MyIdLocale : Swift.Equatable {}
extension MyIdSDK.MyIdLocale : Swift.Hashable {}
extension MyIdSDK.MyIdLocale : Swift.RawRepresentable {}
extension MyIdSDK.MyIdCameraShape : Swift.Equatable {}
extension MyIdSDK.MyIdCameraShape : Swift.Hashable {}
extension MyIdSDK.MyIdCameraShape : Swift.RawRepresentable {}
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name MyIdSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFoundation
import CoreImage.CIFilterBuiltins
import Combine
import CommonCrypto
import Compression
import CoreImage
import CoreVideo
import CryptoKit
import DeveloperToolsSupport
import Foundation
import LocalAuthentication
@_exported import MyIdSDK
import Security
import Swift
import SwiftUI
import UIKit
import Vision
import _Concurrency
import _StringProcessing
import _SwiftConcurrencyShims
@objc public enum MyIdCameraSelector : Swift.Int {
case FRONT = 0
case BACK
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc public class MyIdException : ObjectiveC.NSObject {
@objc public var message: Swift.String?
@objc public var code: Swift.String?
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class MyIdConfig : ObjectiveC.NSObject {
@objc public var clientId: Swift.String?
@objc public var clientHash: Swift.String?
@objc public var clientHashId: Swift.String?
@objc public var passportData: Swift.String?
@objc public var dateOfBirth: Swift.String?
@objc public var minAge: Swift.Int
@objc public var sdkHash: Swift.String?
@objc public var externalId: Swift.String?
@objc public var threshold: Swift.Float
@objc public var buildMode: MyIdSDK.MyIdBuildMode
@objc public var entryType: MyIdSDK.MyIdEntryType
@objc public var residency: MyIdSDK.MyIdResidency
@objc public var locale: MyIdSDK.MyIdLocale
@objc public var cameraShape: MyIdSDK.MyIdCameraShape
@objc public var resolution: MyIdSDK.MyIdResolution
@objc public var cameraSelector: MyIdSDK.MyIdCameraSelector
@objc public var presentationStyle: MyIdSDK.MyIdPresentationStyle
@objc public var organizationDetails: MyIdSDK.MyIdOrganizationDetails?
@objc public var appearance: MyIdSDK.MyIdAppearance?
@objc public var withPhoto: Swift.Bool
@objc public var distance: Swift.Float
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdPresentationStyle : Swift.Int {
case FULL = 0
case SHEET
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdResidency : Swift.Int {
case USER_DEFINED = 0
case RESIDENT
case NON_RESIDENT
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdEntryType : Swift.Int {
case AUTH = 0
case FACE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdResolution : Swift.Int {
case RESOLUTION_480 = 0
case RESOLUTION_720
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc public class MyIdAppearance : ObjectiveC.NSObject {
@objc public var primaryColor: UIKit.UIColor?
@objc public var errorColor: UIKit.UIColor?
@objc public var primaryButtonColor: UIKit.UIColor?
@objc public var primaryButtonColorDisabled: UIKit.UIColor?
@objc public var primaryButtonTextColor: UIKit.UIColor?
@objc public var primaryButtonTextColorDisabled: UIKit.UIColor?
@objc public var buttonCornerRadius: Swift.Float
@objc override dynamic public init()
@objc deinit
}
@_inheritsConvenienceInitializers @objc public class MyIdGenerator : ObjectiveC.NSObject {
@objc public class func hash(payload: Swift.String, clientHash: Swift.String, clientHashId: Swift.String) -> Swift.String?
@objc public class func device() -> Swift.String
@objc public class func deviceModel() -> Swift.String?
@objc public class func deviceName() -> Swift.String?
@objc public class func systemName() -> Swift.String?
@objc public class func systemVersion() -> Swift.String?
@objc public class func isPhone() -> Swift.Bool
@objc public class func isPad() -> Swift.Bool
@objc public class func isSimulator() -> Swift.Bool
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdDocumentType : Swift.Int {
case ID_CARD = 0
case PASSPORT
case DRIVER_LICENSE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdBuildMode : Swift.Int {
case DEBUG = 0
case PRODUCTION
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
extension Swift.String : Swift.Error {
}
@_inheritsConvenienceInitializers @objc public class MyIdResult : ObjectiveC.NSObject {
@objc public var image: UIKit.UIImage?
@objc public var code: Swift.String?
@objc public var comparisonValue: Swift.String?
@objc override dynamic public init()
@objc deinit
}
@objc public enum MyIdLocale : Swift.Int {
case RU = 0
case EN
case UZ
case KY
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@objc public enum MyIdCameraShape : Swift.Int {
case ELLIPSE = 0
case CIRCLE
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc public class MyIdOrganizationDetails : ObjectiveC.NSObject {
@objc public var phoneNumber: Swift.String?
@objc public var logo: UIKit.UIImage?
@objc override dynamic public init()
@objc deinit
}
@objc public protocol MyIdClientDelegate {
@objc func onSuccess(result: MyIdSDK.MyIdResult)
@objc func onError(exception: MyIdSDK.MyIdException)
@objc func onUserExited()
}
@_inheritsConvenienceInitializers @objc public class MyIdClient : ObjectiveC.NSObject {
@objc public class func start(withConfig config: MyIdSDK.MyIdConfig, withDelegate delegate: any MyIdSDK.MyIdClientDelegate)
@objc public class func run(withConfig config: MyIdSDK.MyIdConfig, withDelegate delegate: any MyIdSDK.MyIdClientDelegate) -> UIKit.UIViewController
@objc override dynamic public init()
@objc deinit
}
extension MyIdSDK.MyIdCameraSelector : Swift.Equatable {}
extension MyIdSDK.MyIdCameraSelector : Swift.Hashable {}
extension MyIdSDK.MyIdCameraSelector : Swift.RawRepresentable {}
extension MyIdSDK.MyIdPresentationStyle : Swift.Equatable {}
extension MyIdSDK.MyIdPresentationStyle : Swift.Hashable {}
extension MyIdSDK.MyIdPresentationStyle : Swift.RawRepresentable {}
extension MyIdSDK.MyIdResidency : Swift.Equatable {}
extension MyIdSDK.MyIdResidency : Swift.Hashable {}
extension MyIdSDK.MyIdResidency : Swift.RawRepresentable {}
extension MyIdSDK.MyIdEntryType : Swift.Equatable {}
extension MyIdSDK.MyIdEntryType : Swift.Hashable {}
extension MyIdSDK.MyIdEntryType : Swift.RawRepresentable {}
extension MyIdSDK.MyIdResolution : Swift.Equatable {}
extension MyIdSDK.MyIdResolution : Swift.Hashable {}
extension MyIdSDK.MyIdResolution : Swift.RawRepresentable {}
extension MyIdSDK.MyIdDocumentType : Swift.Equatable {}
extension MyIdSDK.MyIdDocumentType : Swift.Hashable {}
extension MyIdSDK.MyIdDocumentType : Swift.RawRepresentable {}
extension MyIdSDK.MyIdBuildMode : Swift.Equatable {}
extension MyIdSDK.MyIdBuildMode : Swift.Hashable {}
extension MyIdSDK.MyIdBuildMode : Swift.RawRepresentable {}
extension MyIdSDK.MyIdLocale : Swift.Equatable {}
extension MyIdSDK.MyIdLocale : Swift.Hashable {}
extension MyIdSDK.MyIdLocale : Swift.RawRepresentable {}
extension MyIdSDK.MyIdCameraShape : Swift.Equatable {}
extension MyIdSDK.MyIdCameraShape : Swift.Hashable {}
extension MyIdSDK.MyIdCameraShape : Swift.RawRepresentable {}
framework module MyIdSDK {
umbrella header "MyIdSDK.h"
export *
module * { export * }
}
module MyIdSDK.Swift {
header "MyIdSDK-Swift.h"
requires objc
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<!-- Contact info -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeName</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeEmailAddress</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePhoneNumber</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePhysicalAddress</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- Location -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCoarseLocation</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- Sensitive info -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeSensitiveInfo</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- User content -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePhotosorVideos</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeAudioData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- Identifiers -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- Usage data -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- Diagnostics -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePerformanceData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<!-- Surroundings -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeEnvironmentScanning</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- Body -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeHead</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<!-- Other data types -->
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDataTypes</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<!-- Describing use of required reason API -->
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>0A2A.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>85F4.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment