From 4c130e1cebece987e263caa8c987814984398a6c Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:23:20 +0100 Subject: [PATCH 01/19] YD-2315: Updated podspec --- react-native-yoti-doc-scan.podspec | 31 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/react-native-yoti-doc-scan.podspec b/react-native-yoti-doc-scan.podspec index 75c92c1..64ef337 100644 --- a/react-native-yoti-doc-scan.podspec +++ b/react-native-yoti-doc-scan.podspec @@ -3,20 +3,19 @@ require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| - s.name = 'react-native-yoti-doc-scan' - s.version = package['version'] - s.summary = package['description'] - s.description = package['description'] - s.license = package['license'] - s.author = package['author'] - s.homepage = 'https://github.com/getyoti/yoti-doc-scan-react-native' - s.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{s.version}" } - s.source_files = 'ios/**/*.{h,m}' - s.platform = :ios, '11.4' - s.dependency 'React' - s.dependency 'YotiSDKDocument','2.1.1' - s.dependency 'YotiSDKZoom','2.1.1' - s.pod_target_xcconfig = { - 'CLANG_ENABLE_MODULES' => 'NO' - } + s.name = 'react-native-yoti-doc-scan' + s.version = package['version'] + s.summary = package['description'] + s.description = package['description'] + s.license = package['license'] + s.author = package['author'] + s.homepage = 'https://github.com/getyoti/yoti-doc-scan-react-native' + s.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{s.version}" } + s.source_files = 'ios/**/*.{h,m}' + spec.platform = :ios, "11.4" + spec.swift_version = "5.3" + spec.ios.deployment_target = "11.0" + s.dependency 'React' + s.dependency 'YotiSDKDocument','2.3.2' + s.dependency 'YotiSDKZoom','2.3.2' end From b3b6f98f2d5c09be4f0f91cda79a8fb3cf6155f0 Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:24:50 +0100 Subject: [PATCH 02/19] YD-2315: Removed File.swift --- example/ios/File.swift | 9 --------- example/ios/example.xcodeproj/project.pbxproj | 6 ------ 2 files changed, 15 deletions(-) delete mode 100644 example/ios/File.swift diff --git a/example/ios/File.swift b/example/ios/File.swift deleted file mode 100644 index 0ce7642..0000000 --- a/example/ios/File.swift +++ /dev/null @@ -1,9 +0,0 @@ -// -// File.swift -// example -// -// Created by Sam Takunda on 2/2/2020. -// Copyright © 2020 Facebook. All rights reserved. -// - -import Foundation diff --git a/example/ios/example.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj index 4e10c17..f628a30 100644 --- a/example/ios/example.xcodeproj/project.pbxproj +++ b/example/ios/example.xcodeproj/project.pbxproj @@ -15,7 +15,6 @@ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 1C2C3AFD00F248BB98AC13DF /* Prompt-Thin.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BFB0EF85B5BE411B8DD98F9F /* Prompt-Thin.ttf */; }; - 2254035423E7244900911E11 /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2254035323E7244900911E11 /* File.swift */; }; 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; @@ -73,7 +72,6 @@ 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; 2254035223E7244900911E11 /* example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "example-Bridging-Header.h"; sourceTree = ""; }; - 2254035323E7244900911E11 /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = ""; }; 27948A403BBE366CC63BF700 /* Pods-example-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOS.release.xcconfig"; path = "Target Support Files/Pods-example-tvOS/Pods-example-tvOS.release.xcconfig"; sourceTree = ""; }; 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -198,7 +196,6 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 2254035323E7244900911E11 /* File.swift */, 13B07FAE1A68108700A75B9A /* example */, 832341AE1AAA6A7D00B99B32 /* Libraries */, 00E356EF1AD99517003FC87E /* exampleTests */, @@ -696,7 +693,6 @@ buildActionMask = 2147483647; files = ( 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, - 2254035423E7244900911E11 /* File.swift in Sources */, 13B07FC11A68108700A75B9A /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -750,7 +746,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = E272ECAC45B8E49AB87233F5 /* Pods-exampleTests.debug.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; DEVELOPMENT_TEAM = 6VUTP72GG4; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -775,7 +770,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = 369FA13E79393BBE29A51BFE /* Pods-exampleTests.release.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; DEVELOPMENT_TEAM = 6VUTP72GG4; From e27e2895cb187e16f4aa00df62f28de7f572d340 Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:30:19 +0100 Subject: [PATCH 03/19] YD-2315: Minor modifications to .pbxproj and .plist --- example/ios/example.xcodeproj/project.pbxproj | 14 +++++++++----- example/ios/example/Info.plist | 8 ++++---- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/example/ios/example.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj index f628a30..9b5e30e 100644 --- a/example/ios/example.xcodeproj/project.pbxproj +++ b/example/ios/example.xcodeproj/project.pbxproj @@ -351,7 +351,7 @@ isa = PBXProject; attributes = { LastUpgradeCheck = 940; - ORGANIZATIONNAME = Facebook; + ORGANIZATIONNAME = "Yoti Ltd"; TargetAttributes = { 00E356ED1AD99517003FC87E = { CreatedOnToolsVersion = 6.2; @@ -798,13 +798,15 @@ DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = 6VUTP72GG4; INFOPLIST_FILE = example/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.3.0; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = com.yoti.reactnative.docs.example; + PRODUCT_BUNDLE_IDENTIFIER = com.yoti.reactnative.docs.sample; PRODUCT_NAME = example; PROVISIONING_PROFILE_SPECIFIER = "Yoti Button SDK Sample app Production"; SWIFT_OBJC_BRIDGING_HEADER = "example-Bridging-Header.h"; @@ -824,13 +826,15 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = 6VUTP72GG4; INFOPLIST_FILE = example/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.3.0; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = com.yoti.reactnative.docs.example; + PRODUCT_BUNDLE_IDENTIFIER = com.yoti.reactnative.docs.sample; PRODUCT_NAME = example; PROVISIONING_PROFILE_SPECIFIER = "Yoti Button SDK Sample app Production"; SWIFT_OBJC_BRIDGING_HEADER = "example-Bridging-Header.h"; @@ -995,7 +999,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -1041,7 +1045,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; diff --git a/example/ios/example/Info.plist b/example/ios/example/Info.plist index 33c7aaf..70236f3 100644 --- a/example/ios/example/Info.plist +++ b/example/ios/example/Info.plist @@ -2,12 +2,10 @@ - NSCameraUsageDescription - Enable camera access so that you can scan an identity document. CFBundleDevelopmentRegion en CFBundleDisplayName - Yoti Doc Scan Example + $(PRODUCT_NAME) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -19,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleSignature ???? CFBundleURLTypes @@ -52,6 +50,8 @@ + NSCameraUsageDescription + Enable camera access so that you can scan an identity document. NSLocationWhenInUseUsageDescription UIAppFonts From db19f4d1ed2d9dcc6fd79d61a81c7c5b318ba84b Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:32:36 +0100 Subject: [PATCH 04/19] YD-2315: Modified signing to automatic --- example/ios/example.xcodeproj/project.pbxproj | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/example/ios/example.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj index 9b5e30e..2cc21e0 100644 --- a/example/ios/example.xcodeproj/project.pbxproj +++ b/example/ios/example.xcodeproj/project.pbxproj @@ -361,7 +361,7 @@ 13B07F861A680F5B00A75B9A = { DevelopmentTeam = 6VUTP72GG4; LastSwiftMigration = 1120; - ProvisioningStyle = Manual; + ProvisioningStyle = Automatic; }; 2D02E47A1E0B4A5D006451C7 = { CreatedOnToolsVersion = 8.2.1; @@ -793,10 +793,11 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = NO; - DEVELOPMENT_TEAM = 6VUTP72GG4; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = example/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -808,7 +809,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.yoti.reactnative.docs.sample; PRODUCT_NAME = example; - PROVISIONING_PROFILE_SPECIFIER = "Yoti Button SDK Sample app Production"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "example-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -822,9 +823,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = 6VUTP72GG4; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = example/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -836,7 +838,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.yoti.reactnative.docs.sample; PRODUCT_NAME = example; - PROVISIONING_PROFILE_SPECIFIER = "Yoti Button SDK Sample app Production"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "example-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; From 37d4d2122505df6f04267e702a1c9c16ffa2c588 Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:33:11 +0100 Subject: [PATCH 05/19] YD-2315: Added NFC entitlements --- example/ios/example.xcodeproj/project.pbxproj | 4 ++++ example/ios/example/example.entitlements | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 example/ios/example/example.entitlements diff --git a/example/ios/example.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj index 2cc21e0..f51e8b6 100644 --- a/example/ios/example.xcodeproj/project.pbxproj +++ b/example/ios/example.xcodeproj/project.pbxproj @@ -71,6 +71,7 @@ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; + 209E7D392534928400C38A2A /* example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = example.entitlements; path = example/example.entitlements; sourceTree = ""; }; 2254035223E7244900911E11 /* example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "example-Bridging-Header.h"; sourceTree = ""; }; 27948A403BBE366CC63BF700 /* Pods-example-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOS.release.xcconfig"; path = "Target Support Files/Pods-example-tvOS/Pods-example-tvOS.release.xcconfig"; sourceTree = ""; }; 2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -162,6 +163,7 @@ 13B07FAE1A68108700A75B9A /* example */ = { isa = PBXGroup; children = ( + 209E7D392534928400C38A2A /* example.entitlements */, 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.m */, @@ -793,6 +795,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = example/example.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -823,6 +826,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = example/example.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; diff --git a/example/ios/example/example.entitlements b/example/ios/example/example.entitlements new file mode 100644 index 0000000..91c9872 --- /dev/null +++ b/example/ios/example/example.entitlements @@ -0,0 +1,11 @@ + + + + + com.apple.developer.nfc.readersession.formats + + NDEF + TAG + + + From 68284a195435978beb504e11d5a77a8adf51bc0e Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:36:20 +0100 Subject: [PATCH 06/19] YD-2315: Added NFCReaderUsageDescription and NFCReaderSession identifiers --- example/ios/example/Info.plist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example/ios/example/Info.plist b/example/ios/example/Info.plist index 70236f3..71e16f8 100644 --- a/example/ios/example/Info.plist +++ b/example/ios/example/Info.plist @@ -37,6 +37,8 @@ LSRequiresIPhoneOS + NFCReaderUsageDescription + NFC is used when scanning a passport. NSAppTransportSecurity NSAllowsArbitraryLoads @@ -90,5 +92,9 @@ UIViewControllerBasedStatusBarAppearance + com.apple.developer.nfc.readersession.iso7816.select-identifiers + + A0000002471001 + From 629ae2662763492968c94671858e6b6eb77ab7ad Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:38:57 +0100 Subject: [PATCH 07/19] YD-2315: Updated podfile --- example/ios/Podfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/example/ios/Podfile b/example/ios/Podfile index 8ad6b36..39c5e11 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -2,7 +2,6 @@ platform :ios, '11.4' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' target 'example' do - # Pods for example pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" @@ -39,16 +38,13 @@ target 'example' do # Pods for testing end + use_frameworks! use_native_modules! - end target 'example-tvOS' do - # Pods for example-tvOS - target 'example-tvOSTests' do inherit! :search_paths # Pods for testing end - end From fff67fe5429687980f063ce7c29b66581e8aa1b0 Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:45:24 +0100 Subject: [PATCH 08/19] YD-2315: Updated podspec --- react-native-yoti-doc-scan.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native-yoti-doc-scan.podspec b/react-native-yoti-doc-scan.podspec index 64ef337..bcf2839 100644 --- a/react-native-yoti-doc-scan.podspec +++ b/react-native-yoti-doc-scan.podspec @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/getyoti/yoti-doc-scan-react-native' s.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{s.version}" } s.source_files = 'ios/**/*.{h,m}' - spec.platform = :ios, "11.4" + spec.platform = :ios, "12.0" spec.swift_version = "5.3" spec.ios.deployment_target = "11.0" s.dependency 'React' From 1b00a8cef8345a300f08dba1279957c090bc92d3 Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:49:47 +0100 Subject: [PATCH 09/19] YD-2315: Added .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63f1fef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.lock From fff65fb54ff36c0a638410a567a553c60e00532d Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 14:56:19 +0100 Subject: [PATCH 10/19] YD-2315: Updated podspec --- react-native-yoti-doc-scan.podspec | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/react-native-yoti-doc-scan.podspec b/react-native-yoti-doc-scan.podspec index bcf2839..5ee0251 100644 --- a/react-native-yoti-doc-scan.podspec +++ b/react-native-yoti-doc-scan.podspec @@ -2,20 +2,20 @@ require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) -Pod::Spec.new do |s| - s.name = 'react-native-yoti-doc-scan' - s.version = package['version'] - s.summary = package['description'] - s.description = package['description'] - s.license = package['license'] - s.author = package['author'] - s.homepage = 'https://github.com/getyoti/yoti-doc-scan-react-native' - s.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{s.version}" } - s.source_files = 'ios/**/*.{h,m}' +Pod::Spec.new do |spec| + spec.name = 'react-native-yoti-doc-scan' + spec.version = package['version'] + spec.summary = package['description'] + spec.description = package['description'] + spec.license = package['license'] + spec.author = package['author'] + spec.homepage = 'https://github.com/getyoti/yoti-doc-scan-react-native' + spec.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{spec.version}" } + spec.source_files = 'ios/**/*.{h,m}' spec.platform = :ios, "12.0" spec.swift_version = "5.3" spec.ios.deployment_target = "11.0" - s.dependency 'React' - s.dependency 'YotiSDKDocument','2.3.2' - s.dependency 'YotiSDKZoom','2.3.2' + spec.dependency 'React' + spec.dependency 'YotiSDKDocument','2.3.2' + spec.dependency 'YotiSDKZoom','2.3.2' end From a199ce7ffcfe4c6266427810909f7f24842e0804 Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 15:06:26 +0100 Subject: [PATCH 11/19] YD-2315: Updated project.pbxproj relative to pods --- example/ios/example.xcodeproj/project.pbxproj | 74 ++++++++++++++++--- 1 file changed, 64 insertions(+), 10 deletions(-) diff --git a/example/ios/example.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj index f51e8b6..5f10970 100644 --- a/example/ios/example.xcodeproj/project.pbxproj +++ b/example/ios/example.xcodeproj/project.pbxproj @@ -21,17 +21,17 @@ 2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 2DFF39D6A57E469198D3F016 /* Prompt-MediumItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 63AB00CD5ED746D195EF8D9F /* Prompt-MediumItalic.ttf */; }; 3D4116DCE1974DE79B3DCE31 /* Prompt-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = ED5BC1DCF6844DBBB4138CE9 /* Prompt-Italic.ttf */; }; - 3FAF7C1AC4A9F4B3BEEF1943 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BC8018B06370CD8441071B3A /* libPods-example.a */; }; + 3DCB77A3668A1749CAF311FC /* Pods_example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E92C4CB33971BEAF338A5175 /* Pods_example.framework */; }; 46D518ED37384084ABBB6692 /* Prompt-SemiBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C90E08A8C37C411398BC2CA4 /* Prompt-SemiBoldItalic.ttf */; }; 47AB59B8752A40BD80B8832F /* Prompt-ExtraLight.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6030067BAEF446E3B66386BD /* Prompt-ExtraLight.ttf */; }; 4D51779199E54BD1A6C1A7FE /* Prompt-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 433780FA1C544E1D99B03F3D /* Prompt-BoldItalic.ttf */; }; 4FF163751D1A4211A921428C /* Prompt-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D41599CC146D4CFF84357C55 /* Prompt-Black.ttf */; }; 5AC022418D6242E4BF2B7F27 /* Prompt-ExtraLightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5628FD3572B947FAAE87D4D5 /* Prompt-ExtraLightItalic.ttf */; }; 70E902C4165C4B5FA5A76C80 /* Prompt-ThinItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B8EA822BE04E46D39FCC4B08 /* Prompt-ThinItalic.ttf */; }; - 718CEC72AC9C9EF3F2E9F1FD /* libPods-exampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0851B2AFA4EDFCDB9B6A8630 /* libPods-exampleTests.a */; }; 762F63D54D884C14AA0F913D /* Prompt-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DD70FF52FF7C4A4F9290868E /* Prompt-SemiBold.ttf */; }; 8A5CECC96C8D4D718CEB3E69 /* Prompt-ExtraBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F6A83E5A279149258670767C /* Prompt-ExtraBoldItalic.ttf */; }; 901F50404004416FAB62ACA6 /* Prompt-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DED3801F83174BA3941B170F /* Prompt-LightItalic.ttf */; }; + B4554193048FB5BECB07DB7A /* Pods_exampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A826A54431B122171670FB8 /* Pods_exampleTests.framework */; }; C21566B60B2647E7B0A8BDA2 /* Prompt-BlackItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1333EC5FDB7C4869B8D59F5B /* Prompt-BlackItalic.ttf */; }; CB2EB82EAEE74A10951776C5 /* Prompt-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9D57C4BC9BDD4D619A46BF28 /* Prompt-Medium.ttf */; }; D2B24E3DCF41482584B61E60 /* libPods-example-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84150536C8819EEA85CF1B06 /* libPods-example-tvOS.a */; }; @@ -62,7 +62,6 @@ 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; }; - 0851B2AFA4EDFCDB9B6A8630 /* libPods-exampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-exampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 1333EC5FDB7C4869B8D59F5B /* Prompt-BlackItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Prompt-BlackItalic.ttf"; path = "../assets/fonts/Prompt/Prompt-BlackItalic.ttf"; sourceTree = ""; }; 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; }; @@ -71,6 +70,7 @@ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; + 1A826A54431B122171670FB8 /* Pods_exampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_exampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 209E7D392534928400C38A2A /* example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = example.entitlements; path = example/example.entitlements; sourceTree = ""; }; 2254035223E7244900911E11 /* example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "example-Bridging-Header.h"; sourceTree = ""; }; 27948A403BBE366CC63BF700 /* Pods-example-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOS.release.xcconfig"; path = "Target Support Files/Pods-example-tvOS/Pods-example-tvOS.release.xcconfig"; sourceTree = ""; }; @@ -90,7 +90,6 @@ 9D57C4BC9BDD4D619A46BF28 /* Prompt-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Prompt-Medium.ttf"; path = "../assets/fonts/Prompt/Prompt-Medium.ttf"; sourceTree = ""; }; B8796A505E2D06645176A6D5 /* Pods-example-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-example-tvOSTests/Pods-example-tvOSTests.release.xcconfig"; sourceTree = ""; }; B8EA822BE04E46D39FCC4B08 /* Prompt-ThinItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Prompt-ThinItalic.ttf"; path = "../assets/fonts/Prompt/Prompt-ThinItalic.ttf"; sourceTree = ""; }; - BC8018B06370CD8441071B3A /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; BFB0EF85B5BE411B8DD98F9F /* Prompt-Thin.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Prompt-Thin.ttf"; path = "../assets/fonts/Prompt/Prompt-Thin.ttf"; sourceTree = ""; }; C3CB39EC6F88C387C297CA50 /* Pods-example-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-example-tvOS/Pods-example-tvOS.debug.xcconfig"; sourceTree = ""; }; C90E08A8C37C411398BC2CA4 /* Prompt-SemiBoldItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Prompt-SemiBoldItalic.ttf"; path = "../assets/fonts/Prompt/Prompt-SemiBoldItalic.ttf"; sourceTree = ""; }; @@ -101,6 +100,7 @@ DED3801F83174BA3941B170F /* Prompt-LightItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Prompt-LightItalic.ttf"; path = "../assets/fonts/Prompt/Prompt-LightItalic.ttf"; sourceTree = ""; }; E272ECAC45B8E49AB87233F5 /* Pods-exampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-exampleTests.debug.xcconfig"; path = "Target Support Files/Pods-exampleTests/Pods-exampleTests.debug.xcconfig"; sourceTree = ""; }; E8F6A87D41E1C84120EDEFC7 /* Pods-example-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-example-tvOSTests/Pods-example-tvOSTests.debug.xcconfig"; sourceTree = ""; }; + E92C4CB33971BEAF338A5175 /* Pods_example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; ED5BC1DCF6844DBBB4138CE9 /* Prompt-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Prompt-Italic.ttf"; path = "../assets/fonts/Prompt/Prompt-Italic.ttf"; sourceTree = ""; }; @@ -112,7 +112,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 718CEC72AC9C9EF3F2E9F1FD /* libPods-exampleTests.a in Frameworks */, + B4554193048FB5BECB07DB7A /* Pods_exampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -120,7 +120,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 3FAF7C1AC4A9F4B3BEEF1943 /* libPods-example.a in Frameworks */, + 3DCB77A3668A1749CAF311FC /* Pods_example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -182,8 +182,8 @@ ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 84150536C8819EEA85CF1B06 /* libPods-example-tvOS.a */, 4C1031A75A04EBB1139430EF /* libPods-example-tvOSTests.a */, - BC8018B06370CD8441071B3A /* libPods-example.a */, - 0851B2AFA4EDFCDB9B6A8630 /* libPods-exampleTests.a */, + E92C4CB33971BEAF338A5175 /* Pods_example.framework */, + 1A826A54431B122171670FB8 /* Pods_exampleTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -552,7 +552,29 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/DoubleConversion/DoubleConversion.framework", + "${BUILT_PRODUCTS_DIR}/FBReactNativeSpec/FBReactNativeSpec.framework", + "${BUILT_PRODUCTS_DIR}/Folly/folly.framework", "${PODS_ROOT}/PPBlinkID/Microblink.framework", + "${BUILT_PRODUCTS_DIR}/RCTTypeSafety/RCTTypeSafety.framework", + "${BUILT_PRODUCTS_DIR}/React-Core/React.framework", + "${BUILT_PRODUCTS_DIR}/React-CoreModules/CoreModules.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTActionSheet/RCTActionSheet.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTAnimation/RCTAnimation.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTBlob/RCTBlob.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTImage/RCTImage.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTLinking/RCTLinking.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTNetwork/RCTNetwork.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTSettings/RCTSettings.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTText/RCTText.framework", + "${BUILT_PRODUCTS_DIR}/React-RCTVibration/RCTVibration.framework", + "${BUILT_PRODUCTS_DIR}/React-cxxreact/cxxreact.framework", + "${BUILT_PRODUCTS_DIR}/React-jsi/jsi.framework", + "${BUILT_PRODUCTS_DIR}/React-jsiexecutor/jsireact.framework", + "${BUILT_PRODUCTS_DIR}/React-jsinspector/jsinspector.framework", + "${BUILT_PRODUCTS_DIR}/ReactCommon/ReactCommon.framework", + "${BUILT_PRODUCTS_DIR}/SwiftProtobuf/SwiftProtobuf.framework", + "${BUILT_PRODUCTS_DIR}/Yoga/yoga.framework", "${PODS_ROOT}/YotiCommon/YotiCommon/YotiCommon.framework", "${PODS_ROOT}/YotiCommon/YotiCommon/YotiCommon.framework.dSYM", "${PODS_ROOT}/YotiDocumentCapture/YotiDocumentCapture/YotiDocumentCapture.framework", @@ -569,13 +591,40 @@ "${PODS_ROOT}/YotiSDKDesign/YotiSDKDesign/YotiSDKDesign.framework.dSYM", "${PODS_ROOT}/YotiSDKDocument/YotiSDKDocument/YotiSDKDocument.framework", "${PODS_ROOT}/YotiSDKDocument/YotiSDKDocument/YotiSDKDocument.framework.dSYM", + "${PODS_ROOT}/YotiSDKDocument/YotiSDKDocument/mrtddump.framework", + "${PODS_ROOT}/YotiSDKNetwork/YotiSDKNetwork/YotiSDKNetwork.framework", + "${PODS_ROOT}/YotiSDKNetwork/YotiSDKNetwork/YotiSDKNetwork.framework.dSYM", "${PODS_ROOT}/YotiSDKZoom/YotiSDKZoom/YotiSDKZoom.framework", "${PODS_ROOT}/YotiSDKZoom/YotiSDKZoom/YotiSDKZoom.framework.dSYM", - "${PODS_ROOT}/YotiSDKZoom/YotiSDKZoom/ZoomAuthenticationHybrid.framework", + "${PODS_ROOT}/YotiSDKZoom/YotiSDKZoom/ZoomAuthentication.framework", + "${BUILT_PRODUCTS_DIR}/glog/glog.framework", + "${BUILT_PRODUCTS_DIR}/react-native-yoti-doc-scan/react_native_yoti_doc_scan.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DoubleConversion.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBReactNativeSpec.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/folly.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Microblink.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTTypeSafety.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/React.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CoreModules.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTActionSheet.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTAnimation.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTBlob.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTImage.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTLinking.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTNetwork.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTSettings.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTText.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RCTVibration.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/cxxreact.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/jsi.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/jsireact.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/jsinspector.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactCommon.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftProtobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/yoga.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YotiCommon.framework", "${DWARF_DSYM_FOLDER_PATH}/YotiCommon.framework.dSYM", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YotiDocumentCapture.framework", @@ -592,9 +641,14 @@ "${DWARF_DSYM_FOLDER_PATH}/YotiSDKDesign.framework.dSYM", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YotiSDKDocument.framework", "${DWARF_DSYM_FOLDER_PATH}/YotiSDKDocument.framework.dSYM", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/mrtddump.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YotiSDKNetwork.framework", + "${DWARF_DSYM_FOLDER_PATH}/YotiSDKNetwork.framework.dSYM", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YotiSDKZoom.framework", "${DWARF_DSYM_FOLDER_PATH}/YotiSDKZoom.framework.dSYM", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZoomAuthenticationHybrid.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZoomAuthentication.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/glog.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/react_native_yoti_doc_scan.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; From 9dc561626e649d4e865673f3a57ab8c68b9df74d Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 15:19:54 +0100 Subject: [PATCH 12/19] YD-2315: Updated podfile --- example/ios/Podfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ios/Podfile b/example/ios/Podfile index 39c5e11..6713cd1 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,4 +1,4 @@ -platform :ios, '11.4' +platform :ios, '12.0' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' target 'example' do From e890adca14d8abcfaaba969b97a3440cd2c65751 Mon Sep 17 00:00:00 2001 From: asklausen Date: Mon, 12 Oct 2020 15:41:10 +0100 Subject: [PATCH 13/19] YD-2315: Updated version to 1.3.0 --- android/build.gradle | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index e2d6cb5..8a83723 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -12,13 +12,13 @@ android { minSdkVersion safeExtGet('minSdkVersion', 21) targetSdkVersion safeExtGet('targetSdkVersion', 29) versionCode 121 - versionName "1.2.1" + versionName "1.3.0" ndk { abiFilters "armeabi-v7a", "x86" } } - buildTypes { + buildTypes { debug { matchingFallbacks = ['release'] } @@ -48,4 +48,4 @@ allprojects { maven { url 'https://maven.microblink.com' } maven { url "https://jitpack.io" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 03bd63c..561819d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@getyoti/react-native-yoti-doc-scan", - "version": "1.2.1", + "version": "1.3.0", "description": "Yoti Doc Scan for React Native", "main": "YotiDocScan.js", "license": "SEE LICENSE IN LICENSE", From 31afa02d8538f1547378cae8ae4b034ec006c6bf Mon Sep 17 00:00:00 2001 From: asklausen Date: Tue, 13 Oct 2020 17:40:40 +0100 Subject: [PATCH 14/19] YD-2315: Updated podspec to target v2.4.0 --- react-native-yoti-doc-scan.podspec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/react-native-yoti-doc-scan.podspec b/react-native-yoti-doc-scan.podspec index 5ee0251..577d3fc 100644 --- a/react-native-yoti-doc-scan.podspec +++ b/react-native-yoti-doc-scan.podspec @@ -3,19 +3,19 @@ require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |spec| - spec.name = 'react-native-yoti-doc-scan' - spec.version = package['version'] - spec.summary = package['description'] - spec.description = package['description'] - spec.license = package['license'] - spec.author = package['author'] - spec.homepage = 'https://github.com/getyoti/yoti-doc-scan-react-native' + spec.name = "react-native-yoti-doc-scan" + spec.version = package["version"] + spec.summary = package["description"] + spec.description = package["description"] + spec.license = package["license"] + spec.author = package["author"] + spec.homepage = "https://github.com/getyoti/yoti-doc-scan-react-native" spec.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{spec.version}" } - spec.source_files = 'ios/**/*.{h,m}' + spec.source_files = "ios/**/*.{h,m}"" spec.platform = :ios, "12.0" spec.swift_version = "5.3" spec.ios.deployment_target = "11.0" - spec.dependency 'React' - spec.dependency 'YotiSDKDocument','2.3.2' - spec.dependency 'YotiSDKZoom','2.3.2' + spec.dependency "React" + spec.dependency "YotiSDKDocument", "2.4.0" + spec.dependency "YotiSDKZoom", "2.4.0" end From 6152a207e35ccbbca816e1384fe2071c3d26857d Mon Sep 17 00:00:00 2001 From: asklausen Date: Wed, 21 Oct 2020 13:51:02 +0100 Subject: [PATCH 15/19] YD-2315: Updated build.gradle --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 05af247..26e2efc 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -38,8 +38,8 @@ android { dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.3.2' - implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.3.2' + implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.4.0' + implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.4.0' } allprojects { From d4aaab9729b42abf227442c37b6d552fff137e46 Mon Sep 17 00:00:00 2001 From: asklausen Date: Tue, 27 Oct 2020 09:17:01 +0000 Subject: [PATCH 16/19] YD-2315: Updated build.gradle --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index 26e2efc..35ca16f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -39,6 +39,7 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan:2.4.0' + implementation 'com.yoti.mobile.android.sdk:yoti-sdk-doc-scan-sup:2.4.0' implementation 'com.yoti.mobile.android.sdk:yoti-sdk-liveness-zoom:2.4.0' } From fd56ca41fbaa1f98b48b9077166b90286e9101fd Mon Sep 17 00:00:00 2001 From: asklausen Date: Thu, 29 Oct 2020 10:36:32 +0000 Subject: [PATCH 17/19] YD-2315: Updated CocoaPods files --- example/ios/Podfile | 2 +- react-native-yoti-doc-scan.podspec | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/example/ios/Podfile b/example/ios/Podfile index 6713cd1..cf327ab 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,4 +1,4 @@ -platform :ios, '12.0' +platform :ios, '11.0' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' target 'example' do diff --git a/react-native-yoti-doc-scan.podspec b/react-native-yoti-doc-scan.podspec index 577d3fc..1c3e9be 100644 --- a/react-native-yoti-doc-scan.podspec +++ b/react-native-yoti-doc-scan.podspec @@ -12,9 +12,8 @@ Pod::Spec.new do |spec| spec.homepage = "https://github.com/getyoti/yoti-doc-scan-react-native" spec.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{spec.version}" } spec.source_files = "ios/**/*.{h,m}"" - spec.platform = :ios, "12.0" + spec.platform = :ios, "11.0" spec.swift_version = "5.3" - spec.ios.deployment_target = "11.0" spec.dependency "React" spec.dependency "YotiSDKDocument", "2.4.0" spec.dependency "YotiSDKZoom", "2.4.0" From 15849840b314f105b4448ab12b76788bbe8e0c13 Mon Sep 17 00:00:00 2001 From: asklausen Date: Thu, 29 Oct 2020 10:58:12 +0000 Subject: [PATCH 18/19] YD-2315: Updated podspec --- react-native-yoti-doc-scan.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native-yoti-doc-scan.podspec b/react-native-yoti-doc-scan.podspec index 1c3e9be..e85bd10 100644 --- a/react-native-yoti-doc-scan.podspec +++ b/react-native-yoti-doc-scan.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |spec| spec.author = package["author"] spec.homepage = "https://github.com/getyoti/yoti-doc-scan-react-native" spec.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{spec.version}" } - spec.source_files = "ios/**/*.{h,m}"" + spec.source_files = "ios/**/*.{h,m}" spec.platform = :ios, "11.0" spec.swift_version = "5.3" spec.dependency "React" From 048bfd045482ab900c2764485b91c1bafa4dd164 Mon Sep 17 00:00:00 2001 From: asklausen Date: Thu, 29 Oct 2020 11:28:07 +0000 Subject: [PATCH 19/19] YD-2315: Updated podspec --- react-native-yoti-doc-scan.podspec | 1 - 1 file changed, 1 deletion(-) diff --git a/react-native-yoti-doc-scan.podspec b/react-native-yoti-doc-scan.podspec index e85bd10..6a8da6a 100644 --- a/react-native-yoti-doc-scan.podspec +++ b/react-native-yoti-doc-scan.podspec @@ -13,7 +13,6 @@ Pod::Spec.new do |spec| spec.source = { :git => "https://github.com/getyoti/yoti-doc-scan-react-native.git", :tag => "#{spec.version}" } spec.source_files = "ios/**/*.{h,m}" spec.platform = :ios, "11.0" - spec.swift_version = "5.3" spec.dependency "React" spec.dependency "YotiSDKDocument", "2.4.0" spec.dependency "YotiSDKZoom", "2.4.0"