File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,16 @@ dependencyResolutionManagement {
5252Step 2. Add dependency:
5353``` gradle
5454dependencies {
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```
6266Define a view in your layout file:
6367``` xml
Original file line number Diff line number Diff 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'
2727apply plugin : ' maven-publish'
2828
2929ext {
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
You can’t perform that action at this time.
0 commit comments