diff --git a/README.md b/README.md index bafbba9..9a22ed9 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ react-native link react-native-idnow ``` also in dependencies ``` - implementation 'de.idnow.android.sdk:idnow-platform:4.12.0' + implementation 'de.idnow.android.sdk:idnow-platform:5.1.11' ``` 4. Add the following to `repositories` in `android/build.gradle`: ``` @@ -70,7 +70,7 @@ react-native link react-native-idnow url "https://raw.githubusercontent.com/idnow/de.idnow.android.sdk/master" } maven { - url "https://raw.githubusercontent.com/idnow/de.idnow.android/de.idnow.android-5.0.12.1" + url "https://raw.githubusercontent.com/idnow/de.idnow.android/de.idnow.android-5.1.11" } ``` @@ -93,7 +93,7 @@ react-native link react-native-idnow ``` use_frameworks! :linkage => :static -pod 'IDnowSDK', '5.0.12' +pod 'IDnowSDK', '5.1.12' ``` - Then, run the following command: diff --git a/android/build.gradle b/android/build.gradle index 72037ac..ee91ae3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -20,10 +20,18 @@ android { targetSdkVersion 28 versionCode 1 versionName "1.0" + multiDexEnabled true } lintOptions { abortOnError false } + compileOptions { + sourceCompatibility 1.8 + targetCompatibility 1.8 + } + packagingOptions { + exclude 'META-INF/*.kotlin_module' + } } repositories { @@ -38,5 +46,5 @@ repositories { dependencies { implementation 'com.facebook.react:react-native:+' - implementation 'de.idnow.sdk:idnow-android-sdk:5.0.12' + implementation 'de.idnow.sdk:idnow-android-sdk:5.2.0' } diff --git a/android/settings.gradle b/android/settings.gradle index d50b3f0..dd53600 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1 +1 @@ -include ':idnow-android-4.1.2' \ No newline at end of file +include ':idnow-android-5.2.0' diff --git a/demo/ReactNativeIDnowSample/App.tsx b/demo/ReactNativeIDnowSample/App.tsx index 5d13021..69ba4e0 100644 --- a/demo/ReactNativeIDnowSample/App.tsx +++ b/demo/ReactNativeIDnowSample/App.tsx @@ -17,7 +17,7 @@ export default class App extends Component { render() { const options = { showVideoOverviewCheck: true, - transactionToken: 'TST-MCHTG', + transactionToken: 'TST-LQATH', environment: 'TEST', }; return ( diff --git a/demo/ReactNativeIDnowSample/android/app/build.gradle b/demo/ReactNativeIDnowSample/android/app/build.gradle index ff25536..47a85b3 100644 --- a/demo/ReactNativeIDnowSample/android/app/build.gradle +++ b/demo/ReactNativeIDnowSample/android/app/build.gradle @@ -134,6 +134,14 @@ android { targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" + multiDexEnabled = true + } + compileOptions { + sourceCompatibility 1.8 + targetCompatibility 1.8 + } + packagingOptions { + exclude 'META-INF/*.kotlin_module' } splits { abi { @@ -204,6 +212,9 @@ dependencies { } else { implementation jscFlavor } + implementation 'de.idnow.sdk:idnow-android-sdk:5.2.0' + implementation 'de.idnow.android.eid:idnow-android-eid-sdk:2.5.1' + implementation "androidx.multidex:multidex:2.0.1" } // Run this once to be able to run the application with BUCK diff --git a/demo/ReactNativeIDnowSample/android/build.gradle b/demo/ReactNativeIDnowSample/android/build.gradle index 972ffdf..f8b50fe 100644 --- a/demo/ReactNativeIDnowSample/android/build.gradle +++ b/demo/ReactNativeIDnowSample/android/build.gradle @@ -4,7 +4,7 @@ buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 21 - compileSdkVersion = 30 + compileSdkVersion = 31 targetSdkVersion = 30 } repositories { @@ -13,7 +13,6 @@ buildscript { } dependencies { classpath('com.android.tools.build:gradle:4.1.0') - // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -35,7 +34,17 @@ allprojects { jcenter() maven { url 'https://www.jitpack.io' } maven { - url "https://raw.githubusercontent.com/idnow/de.idnow.android/de.idnow.android-5.0.12.1" + url "https://raw.githubusercontent.com/idnow/de.idnow.android/de.idnow.android-5.2.0" + } + maven { + url = uri("https://repo.authada.de/public/") + authentication { + basic(BasicAuthentication) + } + credentials { + username "" + password "" + } } } } diff --git a/demo/ReactNativeIDnowSample/android/gradle.properties b/demo/ReactNativeIDnowSample/android/gradle.properties index a5575af..2778b37 100644 --- a/demo/ReactNativeIDnowSample/android/gradle.properties +++ b/demo/ReactNativeIDnowSample/android/gradle.properties @@ -24,4 +24,5 @@ android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX android.enableJetifier=true # Version of flipper SDK to use with React Native -FLIPPER_VERSION=0.75.1 \ No newline at end of file +FLIPPER_VERSION=0.75.1 +org.gradle.jvmargs=-Xmx8192m -XX:MaxPermSize=8192m -XX:+HeapDumpOnOutOfMemoryError \ No newline at end of file diff --git a/demo/ReactNativeIDnowSample/ios/Podfile b/demo/ReactNativeIDnowSample/ios/Podfile index e2f8cf6..32149f4 100644 --- a/demo/ReactNativeIDnowSample/ios/Podfile +++ b/demo/ReactNativeIDnowSample/ios/Podfile @@ -4,7 +4,7 @@ platform :ios, '11.0' target 'ReactNativeIDnowSample' do # START - # Without this we cannot install Flipper along with ID Now v5.0.12 + # Without this we cannot install Flipper along with ID Now v5.3.0 $static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly', 'CocoaAsyncSocket', 'ComponentKit', 'DoubleConversion', 'glog', 'Flipper-PeerTalk', 'Flipper-RSocket', 'Yoga', 'YogaKit', @@ -31,7 +31,7 @@ target 'ReactNativeIDnowSample' do ) use_frameworks! :linkage => :static - pod 'IDnowSDK', '5.0.12' + pod 'IDnowSDK', '5.3.0' target 'ReactNativeIDnowSampleTests' do inherit! :complete @@ -47,4 +47,4 @@ target 'ReactNativeIDnowSample' do post_install do |installer| react_native_post_install(installer) end -end \ No newline at end of file +end diff --git a/demo/ReactNativeIDnowSample/ios/Podfile.lock b/demo/ReactNativeIDnowSample/ios/Podfile.lock index cad1f69..02f8773 100644 --- a/demo/ReactNativeIDnowSample/ios/Podfile.lock +++ b/demo/ReactNativeIDnowSample/ios/Podfile.lock @@ -25,7 +25,7 @@ PODS: - React-Core (= 0.64.2) - React-jsi (= 0.64.2) - ReactCommon/turbomodule/core (= 0.64.2) - - FLAnimatedImage (1.0.16) + - FLAnimatedImage (1.0.17) - Flipper (0.87.0): - Flipper-Folly (~> 2.5) - Flipper-RSocket (~> 1.3) @@ -84,7 +84,7 @@ PODS: - FlipperKit/Core - FlipperKit/FlipperKitNetworkPlugin - glog (0.3.5) - - IDnowSDK (5.0.12): + - IDnowSDK (5.3.0): - AFNetworking (~> 4.0) - FLAnimatedImage (~> 1.0) - libPhoneNumber-iOS (~> 0.9) @@ -351,7 +351,7 @@ PODS: - React-cxxreact (= 0.64.2) - React-jsi (= 0.64.2) - React-perflogger (= 0.64.2) - - RNIdnow (0.1.5): + - RNIdnow (0.1.7): - React - SocketRocket (0.5.1) - Yoga (1.14.0) @@ -382,7 +382,7 @@ DEPENDENCIES: - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.87.0) - FlipperKit/SKIOSNetworkPlugin (= 0.87.0) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - - IDnowSDK (= 5.0.12) + - IDnowSDK (= 5.3.0) - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) @@ -498,8 +498,8 @@ SPEC CHECKSUMS: CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de FBLazyVector: e686045572151edef46010a6f819ade377dfeb4b - FBReactNativeSpec: 6061053b2a7700a8d647c7672f13d0feff8de874 - FLAnimatedImage: 8f3e854ebf9680b71f0b6e700939687fc4d82b4b + FBReactNativeSpec: 9e4385c9e8da219f72bd4e9406fe7c3cec6af892 + FLAnimatedImage: bbf914596368867157cc71b38a8ec834b3eeb32b Flipper: 1bd2db48dcc31e4b167b9a33ec1df01c2ded4893 Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41 Flipper-Folly: 755929a4f851b2fb2c347d533a23f191b008554c @@ -508,7 +508,7 @@ SPEC CHECKSUMS: Flipper-RSocket: 127954abe8b162fcaf68d2134d34dc2bd7076154 FlipperKit: 651f50a42eb95c01b3e89a60996dd6aded529eeb glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62 - IDnowSDK: 1e617fe60409747128e29a82d13518fee6903847 + IDnowSDK: 13db43b93a48894fa276d9c864e2e21ebe9724df libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75 Masonry: 678fab65091a9290e40e2832a55e7ab731aad201 @@ -536,11 +536,11 @@ SPEC CHECKSUMS: React-RCTVibration: 24600e3b1aaa77126989bc58b6747509a1ba14f3 React-runtimeexecutor: a9904c6d0218fb9f8b19d6dd88607225927668f9 ReactCommon: 149906e01aa51142707a10665185db879898e966 - RNIdnow: 7adbca36f40dc127915f92035788d0aff5e1c884 + RNIdnow: 4d93b506d28befd326796c655bedfd8a93a25418 SocketRocket: d57c7159b83c3c6655745cd15302aa24b6bae531 Yoga: 575c581c63e0d35c9a83f4b46d01d63abc1100ac YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 2075f9d1d98e9a5226b0676fe0bad1e6789b4496 +PODFILE CHECKSUM: d38101bb8a9bdfa66d19efc40dd260c8307ba901 -COCOAPODS: 1.10.1 +COCOAPODS: 1.11.3 diff --git a/demo/ReactNativeIDnowSample/ios/ReactNativeIDnowSample.xcodeproj/project.pbxproj b/demo/ReactNativeIDnowSample/ios/ReactNativeIDnowSample.xcodeproj/project.pbxproj index e0fa042..71f88e6 100644 --- a/demo/ReactNativeIDnowSample/ios/ReactNativeIDnowSample.xcodeproj/project.pbxproj +++ b/demo/ReactNativeIDnowSample/ios/ReactNativeIDnowSample.xcodeproj/project.pbxproj @@ -15,6 +15,7 @@ 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 2DCD954D1E0B4F2C00145EB5 /* ReactNativeIDnowSampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeIDnowSampleTests.m */; }; + 2F646E0D290B9E3A00A85D59 /* main.js in Resources */ = {isa = PBXBuildFile; fileRef = 2F646E0C290B9E3A00A85D59 /* main.js */; }; 3620F3DA266F735900592F67 /* file-swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3620F3D9266F735900592F67 /* file-swift.swift */; }; 3620F3DB266F735900592F67 /* file-swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3620F3D9266F735900592F67 /* file-swift.swift */; }; 7882E1D0237559AA00F1F542 /* RNIdnow.m in Sources */ = {isa = PBXBuildFile; fileRef = 7882E1CF237559AA00F1F542 /* RNIdnow.m */; }; @@ -40,7 +41,6 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 00E356EE1AD99517003FC87E /* ReactNativeIDnowSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeIDnowSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 00E356F21AD99517003FC87E /* ReactNativeIDnowSampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeIDnowSampleTests.m; sourceTree = ""; }; @@ -55,6 +55,7 @@ 21481F1F7360C2024835C56D /* Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests/Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests.debug.xcconfig"; sourceTree = ""; }; 2D02E47B1E0B4A5D006451C7 /* ReactNativeIDnowSample-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeIDnowSample-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 2D02E4901E0B4A5D006451C7 /* ReactNativeIDnowSample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeIDnowSample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F646E0C290B9E3A00A85D59 /* main.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = main.js; sourceTree = ""; }; 3620F3D7266F735900592F67 /* ReactNativeIDnowSample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReactNativeIDnowSample-Bridging-Header.h"; sourceTree = ""; }; 3620F3D8266F735900592F67 /* ReactNativeIDnowSampleTests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ReactNativeIDnowSampleTests-Bridging-Header.h"; sourceTree = ""; }; 3620F3D9266F735900592F67 /* file-swift.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "file-swift.swift"; sourceTree = ""; }; @@ -124,7 +125,7 @@ 13B07FAE1A68108700A75B9A /* ReactNativeIDnowSample */ = { isa = PBXGroup; children = ( - 008F07F21AC5B25A0029DE68 /* main.jsbundle */, + 2F646E0C290B9E3A00A85D59 /* main.js */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.m */, 13B07FB51A68108700A75B9A /* Images.xcassets */, @@ -295,6 +296,7 @@ TestTargetID = 13B07F861A680F5B00A75B9A; }; 13B07F861A680F5B00A75B9A = { + DevelopmentTeam = LGN5JWF3CA; LastSwiftMigration = 1250; }; 2D02E47A1E0B4A5D006451C7 = { @@ -343,6 +345,7 @@ buildActionMask = 2147483647; files = ( 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, + 2F646E0D290B9E3A00A85D59 /* main.js in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -399,7 +402,7 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests/Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL/OpenSSL.framework/OpenSSL", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( @@ -417,35 +420,35 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ReactNativeIDnowSample/Pods-ReactNativeIDnowSample-resources.sh", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-FACESCREENSHOT@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-FACESCREENSHOT@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/IDnowImages.bundle", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/IDnowSDKLocalization.bundle", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/IDnowVideoIdentPlusImages.bundle", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-FACESCREENSHOT@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-FACESCREENSHOT@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/IDnowImages.bundle", + "${PODS_ROOT}/IDnowSDK/resources/IDnowSDKLocalization.bundle", + "${PODS_ROOT}/IDnowSDK/resources/IDnowVideoIdentPlusImages.bundle", "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle", ); name = "[CP] Copy Pods Resources"; @@ -515,7 +518,7 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ReactNativeIDnowSample/Pods-ReactNativeIDnowSample-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL/OpenSSL.framework/OpenSSL", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( @@ -555,35 +558,35 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests/Pods-ReactNativeIDnowSample-ReactNativeIDnowSampleTests-resources.sh", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-FACESCREENSHOT@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-FACESCREENSHOT@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-IDCARD-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-PASSPORT-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@2x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@3x.jpg", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/IDnowImages.bundle", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/IDnowSDKLocalization.bundle", - "${PODS_ROOT}/IDnowSDK/idnow-sdk/resources/IDnowVideoIdentPlusImages.bundle", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-DRIVERS_LICENSE-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-FACESCREENSHOT@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-FACESCREENSHOT@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-IDCARD-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-PASSPORT-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDBACKSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDFRONTSIDE@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@2x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/idn-helper-RESIDENCE_PERMIT-IDHOLOGRAMS@3x.jpg", + "${PODS_ROOT}/IDnowSDK/resources/IDnowImages.bundle", + "${PODS_ROOT}/IDnowSDK/resources/IDnowSDKLocalization.bundle", + "${PODS_ROOT}/IDnowSDK/resources/IDnowVideoIdentPlusImages.bundle", "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle", ); name = "[CP] Copy Pods Resources"; @@ -967,7 +970,7 @@ COPY_PHASE_STRIP = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 "; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -1021,7 +1024,7 @@ COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 "; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = ""; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; diff --git a/demo/ReactNativeIDnowSample/ios/main.js b/demo/ReactNativeIDnowSample/ios/main.js new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index ccbf901..5558902 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-idnow", - "version": "0.1.7", + "version": "0.1.8", "description": "React Native IDnow binding for iOS/Android platforms.", "main": "index.js", "scripts": {