Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ 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`:
```
maven {
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"
}
```
</details>
Expand All @@ -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:
Expand Down
10 changes: 9 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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'
}
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':idnow-android-4.1.2'
include ':idnow-android-5.2.0'
2 changes: 1 addition & 1 deletion demo/ReactNativeIDnowSample/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class App extends Component<Props> {
render() {
const options = {
showVideoOverviewCheck: true,
transactionToken: 'TST-MCHTG',
transactionToken: 'TST-LQATH',
environment: 'TEST',
};
return (
Expand Down
11 changes: 11 additions & 0 deletions demo/ReactNativeIDnowSample/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
Expand Down
15 changes: 12 additions & 3 deletions demo/ReactNativeIDnowSample/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext {
buildToolsVersion = "30.0.2"
minSdkVersion = 21
compileSdkVersion = 30
compileSdkVersion = 31
targetSdkVersion = 30
}
repositories {
Expand All @@ -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
}
Expand All @@ -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 ""
}
}
}
}
3 changes: 2 additions & 1 deletion demo/ReactNativeIDnowSample/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
FLIPPER_VERSION=0.75.1
org.gradle.jvmargs=-Xmx8192m -XX:MaxPermSize=8192m -XX:+HeapDumpOnOutOfMemoryError
6 changes: 3 additions & 3 deletions demo/ReactNativeIDnowSample/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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
Expand All @@ -47,4 +47,4 @@ target 'ReactNativeIDnowSample' do
post_install do |installer|
react_native_post_install(installer)
end
end
end
20 changes: 10 additions & 10 deletions demo/ReactNativeIDnowSample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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`)
Expand Down Expand Up @@ -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
Expand All @@ -508,7 +508,7 @@ SPEC CHECKSUMS:
Flipper-RSocket: 127954abe8b162fcaf68d2134d34dc2bd7076154
FlipperKit: 651f50a42eb95c01b3e89a60996dd6aded529eeb
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
IDnowSDK: 1e617fe60409747128e29a82d13518fee6903847
IDnowSDK: 13db43b93a48894fa276d9c864e2e21ebe9724df
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
Expand Down Expand Up @@ -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
Loading