Skip to content

Commit

Permalink
added v11.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sMaltsevAcuant committed Jan 4, 2022
1 parent 10d20ae commit e394359
Show file tree
Hide file tree
Showing 168 changed files with 3,982 additions and 13,479 deletions.
777 changes: 334 additions & 443 deletions README.md

Large diffs are not rendered by default.

64 changes: 40 additions & 24 deletions acuantcamera/build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

repositories {
google()
}
apply plugin: 'maven-publish'

android {
compileSdkVersion 29
compileSdkVersion 31

defaultConfig {
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"

//testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

targetSdkVersion 31
}

buildTypes {
Expand All @@ -26,19 +17,44 @@ android {
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

// For Kotlin projects
kotlinOptions {
jvmTarget = "1.8"
}

buildFeatures {
viewBinding true
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:exifinterface:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:support-media-compat:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.android.gms:play-services-vision:17.0.2'
implementation 'com.rmtheis:tess-two:9.0.0'
implementation project(path: ':acuantcommon')
implementation project(path: ':acuantimagepreparation')

// Kotlin lang
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2'

// App compat and UI things
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
//noinspection GradleDependency
implementation 'androidx.window:window:1.0.0-alpha09' //newer versions changed the api, not updating yet

// CameraX library
def camerax_version = '1.1.0-alpha12'
implementation "androidx.camera:camera-core:$camerax_version"
implementation "androidx.camera:camera-camera2:$camerax_version"
implementation "androidx.camera:camera-lifecycle:$camerax_version"
implementation "androidx.camera:camera-view:1.0.0-alpha32"

//acuant specific stuff
implementation 'androidx.exifinterface:exifinterface:1.3.3'
implementation 'com.google.mlkit:barcode-scanning:17.0.1'
implementation 'com.rmtheis:tess-two:9.1.0'
implementation 'com.acuant:acuantcommon:11.5.0'
implementation 'com.acuant:acuantimagepreparation:11.5.0'
}
33 changes: 11 additions & 22 deletions acuantcamera/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.acuant.acuantcamera">

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<!-- Declare features -->
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<!-- Declare permissions -->
<uses-permission android:name="android.permission.CAMERA" />

<application>

<meta-data
android:name="com.google.android.gms.vision.DEPENDENCIES"
android:value="barcode" />

<activity
android:name=".camera.AcuantCameraActivity"
android:screenOrientation="portrait" />
android:name="com.acuant.acuantcamera.camera.AcuantCameraActivity"
android:screenOrientation="portrait"
android:rotationAnimation="seamless"
android:resizeableActivity="false"
tools:targetApi="29" />

<activity
android:name="com.acuant.acuantcamera.camera.document.cameraone.DocumentCaptureActivity"
android:screenOrientation="portrait" />

<activity
android:name="com.acuant.acuantcamera.camera.mrz.cameraone.MrzCaptureActivity"
android:screenOrientation="portrait" />

<activity
android:name="com.acuant.acuantcamera.camera.barcode.cameraone.BarcodeCaptureActivity"
android:screenOrientation="portrait" />
</application>

</manifest>

This file was deleted.

Loading

0 comments on commit e394359

Please sign in to comment.