Commit 85048fad authored by Javohir Savriy's avatar Javohir Savriy
Browse files

2.1.0

parent eec17876
<component name="libraryTable">
<library name="Gradle: ./app/libs/myid-sdk-2.0.9-release.aar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/87847f2ca42c559fe8e8b1f70bc40ce4/jetified-myid-sdk-2.0.9-release/jars/classes.jar!/" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/87847f2ca42c559fe8e8b1f70bc40ce4/jetified-myid-sdk-2.0.9-release/res" />
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/87847f2ca42c559fe8e8b1f70bc40ce4/jetified-myid-sdk-2.0.9-release/AndroidManifest.xml" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
\ No newline at end of file
...@@ -46,9 +46,9 @@ libraries (For example libs) and copy MyId SDK provided libraries. ...@@ -46,9 +46,9 @@ libraries (For example libs) and copy MyId SDK provided libraries.
Add reference to library to module **_build.gradle_**: Add reference to library to module **_build.gradle_**:
``` gradle ``` gradle
implementation(files("libs/myid-sdk-2.0.9-release.aar")) implementation(files("libs/myid-sdk-2.1.0-release.aar"))
``` ```
**Note:** You can get `myid-sdk-2.0.9-release.aar` file from [here](app/libs/myid-sdk-2.0.9-release.aar) **Note:** You can get `myid-sdk-2.1.0-release.aar` file from [here](app/libs/myid-sdk-2.1.0-release.aar)
After synchronization, You should be able to access to SDK classes from your source code. After synchronization, You should be able to access to SDK classes from your source code.
......
...@@ -82,7 +82,7 @@ class MainActivity : AppCompatActivity(), MyIdResultListener { ...@@ -82,7 +82,7 @@ class MainActivity : AppCompatActivity(), MyIdResultListener {
with(binding) { with(binding) {
imageResult.setImageBitmap(null) imageResult.setImageBitmap(null)
"User exited".also { textResult.text = it } "User exited sdk".also { textResult.text = it }
} }
} }
......
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"
tools:context=".FaceActivity">
<androidx.camera.view.PreviewView
android:id="@+id/previewView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:scaleType="fitCenter" />
</FrameLayout>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment