Skip to content

Commit 57fb4ae

Browse files
committed
Release 2.0.1
1 parent a585904 commit 57fb4ae

18 files changed

Lines changed: 10002 additions & 6923 deletions

File tree

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,12 @@ buck-out/
6161
/vendor/bundle/
6262

6363
# API Client credetials
64-
credentials.js
64+
credentials.js
65+
66+
# Yarn
67+
.yarn/*
68+
!.yarn/patches
69+
!.yarn/plugins
70+
!.yarn/releases
71+
!.yarn/sdks
72+
!.yarn/versions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ The iProov Biometrics React Native SDK wraps iProov's native iOS (Swift) and And
2020

2121
### Requirements
2222

23-
- React Native 0.72 and above
24-
- iOS 12.4 and above
25-
- Android API Level 21 (Android 5 Lollipop) and above
23+
- React Native 0.73 and above
24+
- iOS 13.0 and above
25+
- Android API Level 26 (Android 8 Oreo) and above
2626

2727
## Registration
2828

@@ -34,7 +34,7 @@ You can obtain API credentials by registering on the [iProov Partner Portal](htt
3434

3535
```json
3636
"dependencies": {
37-
"@iproov/react-native": "1.0.2"
37+
"@iproov/react-native": "2.0.1"
3838
}
3939
```
4040

android/app/build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: "com.android.application"
2+
apply plugin: "org.jetbrains.kotlin.android"
23
apply plugin: "com.facebook.react"
34

45
/**
@@ -22,7 +23,7 @@ def jscFlavor = 'org.webkit:android-jsc:+'
2223

2324
android {
2425
ndkVersion rootProject.ext.ndkVersion
25-
26+
buildToolsVersion rootProject.ext.buildToolsVersion
2627
compileSdk rootProject.ext.compileSdkVersion
2728

2829
namespace "com.example"
@@ -60,12 +61,8 @@ dependencies {
6061

6162
// The version of react-native is set by the React Native Gradle Plugin
6263
implementation("com.facebook.react:react-android")
63-
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
64-
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
65-
exclude group:'com.squareup.okhttp3', module:'okhttp'
66-
}
67-
68-
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
64+
implementation("com.facebook.react:flipper-integration:0.73.7")
65+
6966
if (hermesEnabled.toBoolean()) {
7067
implementation("com.facebook.react:hermes-android")
7168
} else {

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools">
44

5-
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
6-
75
<application
86
android:usesCleartextTraffic="true"
97
tools:targetApi="28"
10-
tools:ignore="GoogleAppIndexingWarning">
11-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false" />
12-
</application>
8+
tools:ignore="GoogleAppIndexingWarning"/>
139
</manifest>

android/app/src/debug/java/com/example/ReactNativeFlipper.java

Lines changed: 0 additions & 71 deletions
This file was deleted.

android/app/src/main/java/com/example/MainActivity.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

android/app/src/main/java/com/example/MainApplication.java

Lines changed: 0 additions & 70 deletions
This file was deleted.

android/build.gradle

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
buildscript {
44
ext {
5-
buildToolsVersion = "33.0.0"
6-
minSdkVersion = 21
7-
compileSdkVersion = 33
8-
targetSdkVersion = 33
5+
buildToolsVersion = "34.0.0"
6+
minSdkVersion = 26
7+
compileSdkVersion = 34
8+
targetSdkVersion = 34
99
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
10-
ndkVersion = "23.1.7779620"
10+
ndkVersion = "25.1.8937393"
11+
kotlinVersion = "1.8.0"
1112
}
1213
repositories {
1314
google()
@@ -16,8 +17,12 @@ buildscript {
1617
dependencies {
1718
classpath("com.android.tools.build:gradle")
1819
classpath("com.facebook.react:react-native-gradle-plugin")
20+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
1921
}
2022
}
23+
24+
apply plugin: "com.facebook.react.rootproject"
25+
2126
allprojects {
2227
repositories {
2328
google()

android/gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ android.useAndroidX=true
2424
# Automatically convert third-party libraries to use AndroidX
2525
android.enableJetifier=true
2626

27-
# Version of flipper SDK to use with React Native
28-
FLIPPER_VERSION=0.182.0
29-
3027
# Use this property to specify which architecture you want to build.
3128
# You can also override it from the CLI using
3229
# ./gradlew <task> -PreactNativeArchitectures=x86_64
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
44
networkTimeout=10000
5+
validateDistributionUrl=true
56
zipStoreBase=GRADLE_USER_HOME
67
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)