Skip to content

Commit 34bec9c

Browse files
author
Yuriy Budiyev
committed
Dev
1 parent c9ebd00 commit 34bec9c

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,16 @@ dependencyResolutionManagement {
5252
Step 2. Add dependency:
5353
```gradle
5454
dependencies {
55-
implementation 'com.github.yuriy-budiyev:code-scanner:2.1.1'
55+
implementation 'com.github.yuriy-budiyev:code-scanner:2.1.2'
5656
}
5757
```
58-
Add camera permission to AndroidManifest.xml (Don't forget about dynamic permissions on API >= 23):
58+
Add camera permission and hardware feature to AndroidManifest.xml (Don't forget about dynamic permissions on API >= 23):
5959
```xml
6060
<uses-permission android:name="android.permission.CAMERA"/>
61+
62+
<uses-feature
63+
android:name="android.hardware.camera"
64+
android:required="false"/>
6165
```
6266
Define a view in your layout file:
6367
```xml

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99

1010
dependencies {
1111

12-
classpath 'com.android.tools.build:gradle:7.1.1'
12+
classpath 'com.android.tools.build:gradle:7.1.2'
1313
}
1414
}
1515

@@ -27,7 +27,7 @@ apply plugin: 'com.android.library'
2727
apply plugin: 'maven-publish'
2828

2929
ext {
30-
libraryVersion = '2.1.1'
30+
libraryVersion = '2.1.2'
3131
publishedGroupId = 'com.budiyev.android'
3232
}
3333

@@ -41,7 +41,7 @@ android {
4141
defaultConfig {
4242
minSdkVersion 19
4343
targetSdkVersion 31
44-
versionCode 58
44+
versionCode 59
4545
versionName libraryVersion
4646
}
4747

0 commit comments

Comments
 (0)