Skip to content

Commit 90143d5

Browse files
Adapt plugin manifest and build.gradle for 2.10
1 parent 99b4ba9 commit 90143d5

File tree

2 files changed

+28
-26
lines changed

2 files changed

+28
-26
lines changed

android/build.gradle

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,48 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 26
5-
buildToolsVersion '26.0.2'
4+
compileSdkVersion 27
5+
buildToolsVersion '27.0.2'
66
}
77

88
ext {
9-
SDK_VERSION = "2.9.0"
9+
SDK_VERSION = "2.10.0"
1010
}
1111

1212
repositories {
1313
jcenter()
14-
maven { url 'https://maven.google.com/' }
15-
maven { url 'http://mobile-sdk.jumio.com' }
14+
maven { url 'https://maven.google.com/' }
15+
maven { url 'https://mobile-sdk.jumio.com' }
1616
}
1717

18+
19+
1820
dependencies {
19-
compile "com.jumio.android:core:${SDK_VERSION}@aar"
20-
compile "com.jumio.android:bam:${SDK_VERSION}@aar"
21-
compile "com.jumio.android:nv:${SDK_VERSION}@aar"
22-
compile "com.jumio.android:nv-mrz:${SDK_VERSION}@aar"
23-
compile "com.jumio.android:nv-nfc:${SDK_VERSION}@aar"
24-
compile "com.jumio.android:nv-ocr:${SDK_VERSION}@aar"
25-
compile "com.jumio.android:nv-barcode:${SDK_VERSION}@aar"
26-
compile "com.jumio.android:nv-barcode-vision:${SDK_VERSION}@aar"
27-
compile "com.jumio.android:nv-liveness:${SDK_VERSION}@aar"
28-
compile "com.jumio.android:dv:${SDK_VERSION}@aar"
21+
implementation "com.jumio.android:core:${SDK_VERSION}@aar"
22+
implementation "com.jumio.android:bam:${SDK_VERSION}@aar"
23+
implementation "com.jumio.android:nv:${SDK_VERSION}@aar"
24+
implementation "com.jumio.android:nv-mrz:${SDK_VERSION}@aar"
25+
implementation "com.jumio.android:nv-nfc:${SDK_VERSION}@aar"
26+
implementation "com.jumio.android:nv-ocr:${SDK_VERSION}@aar"
27+
implementation "com.jumio.android:nv-barcode:${SDK_VERSION}@aar"
28+
implementation "com.jumio.android:nv-barcode-vision:${SDK_VERSION}@aar"
29+
implementation "com.jumio.android:nv-liveness:${SDK_VERSION}@aar"
30+
implementation "com.jumio.android:dv:${SDK_VERSION}@aar"
2931

3032
//for core:
31-
compile "com.android.support:support-v4:26.1.0"
32-
compile "com.android.support:appcompat-v7:26.1.0"
33+
implementation "com.android.support:support-v4:27.0.2"
34+
api "com.android.support:appcompat-v7:27.0.2"
3335

3436
//for nv:
35-
compile "com.android.support:design:26.1.0"
36-
compile "com.android.support:cardview-v7:26.1.0"
37+
implementation "com.android.support:design:27.0.2"
38+
implementation "com.android.support:cardview-v7:27.0.2"
3739

3840
//only for nv-nfc
39-
compile "com.madgag.spongycastle:prov:1.58.0.0"
40-
compile "net.sf.scuba:scuba-sc-android:0.0.12"
41+
implementation "com.madgag.spongycastle:prov:1.58.0.0"
42+
implementation "net.sf.scuba:scuba-sc-android:0.0.13"
4143

4244
//only for nv-barcode-vision
43-
compile "com.google.android.gms:play-services-vision:11.4.0"
45+
implementation "com.google.android.gms:play-services-vision:11.8.0"
4446

45-
compile 'com.facebook.react:react-native:+'
46-
}
47+
implementation 'com.facebook.react:react-native:+'
48+
}

android/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
package="com.jumio.react">
44

55
<uses-sdk
6-
android:minSdkVersion="16"
7-
android:targetSdkVersion="22" />
6+
android:minSdkVersion="19"
7+
android:targetSdkVersion="27" />
88

99
<uses-permission android:name="android.permission.VIBRATE"/>
1010
<uses-feature android:name="android.hardware.camera" android:required="false"/>

0 commit comments

Comments
 (0)