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 }