From 34bec9cd89e63d8a2050220efcd3411146f39caa Mon Sep 17 00:00:00 2001 From: Yuriy Budiyev Date: Tue, 8 Mar 2022 14:21:22 +0300 Subject: [PATCH] Dev --- README.md | 8 ++++++-- build.gradle | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index faecac9..fbb0941 100644 --- a/README.md +++ b/README.md @@ -52,12 +52,16 @@ dependencyResolutionManagement { Step 2. Add dependency: ```gradle dependencies { - implementation 'com.github.yuriy-budiyev:code-scanner:2.1.1' + implementation 'com.github.yuriy-budiyev:code-scanner:2.1.2' } ``` -Add camera permission to AndroidManifest.xml (Don't forget about dynamic permissions on API >= 23): +Add camera permission and hardware feature to AndroidManifest.xml (Don't forget about dynamic permissions on API >= 23): ```xml + + ``` Define a view in your layout file: ```xml diff --git a/build.gradle b/build.gradle index 0dab60f..b994f62 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { dependencies { - classpath 'com.android.tools.build:gradle:7.1.1' + classpath 'com.android.tools.build:gradle:7.1.2' } } @@ -27,7 +27,7 @@ apply plugin: 'com.android.library' apply plugin: 'maven-publish' ext { - libraryVersion = '2.1.1' + libraryVersion = '2.1.2' publishedGroupId = 'com.budiyev.android' } @@ -41,7 +41,7 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 31 - versionCode 58 + versionCode 59 versionName libraryVersion }