Skip to content

Commit fa46627

Browse files
committed
use custom CameraActivity example (kotlin)
1 parent 4518621 commit fa46627

8 files changed

Lines changed: 856 additions & 323 deletions

File tree

Samples/Basic/DocumentReader-sample_kotlin/app/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,15 @@ android {
2424

2525
dependencies {
2626
implementation fileTree(dir: 'libs', include: ['*.jar'])
27-
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
27+
//noinspection GradleCompatible
2828
implementation 'androidx.appcompat:appcompat:1.3.1'
2929
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
3030

3131
testImplementation 'junit:junit:4.13.2'
3232
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
3333
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
3434

35-
//noinspection GradleDynamicVersion
3635
implementation 'com.regula.documentreader.core:fullrfid:5.7.+@aar'
37-
//noinspection GradleDynamicVersion
3836
implementation('com.regula.documentreader:api:5.7.+@aar') {
3937
transitive = true;
4038
}

Samples/Basic/DocumentReader-sample_kotlin/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
android:supportsRtl="true"
1515
android:theme="@style/AppTheme"
1616
tools:ignore="AllowBackup,GoogleAppIndexingWarning">
17-
<activity android:name="com.regula.documentreader.MainActivity" android:screenOrientation="portrait">
18-
17+
<activity android:name=".MainActivity" android:screenOrientation="portrait">
1918
<intent-filter>
2019
<action android:name="android.intent.action.MAIN"/>
2120

2221
<category android:name="android.intent.category.LAUNCHER"/>
2322
</intent-filter>
2423
</activity>
24+
<activity android:name=".CameraActivity"
25+
android:screenOrientation="portrait"/>
2526
</application>
2627

2728
</manifest>

0 commit comments

Comments
 (0)