From 706c4073516cfeb76e17fda300f878380413ec10 Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Sat, 6 Feb 2016 16:42:32 +0200 Subject: [PATCH] v3.2.0; Readme updates. --- CHANGES.md | 14 ++++++++++++++ README.md | 21 ++++----------------- build.gradle | 4 ++-- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index fa5c6a268..64623c3ae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,13 @@ + +### 3.2.0 (2016-02-06) + +* Improved preview scaling strategies, configurable between centerCrop, fitCenter, fitXY (#135) +* Fix issues with Android 6 permission support (#123) +* Fix camera initialization issues, specifically related to orientation changes (#133) +* More control over focus mode (#112) +* Keep drawing viewfinder frame after scanning / pausing (#134) +* More control over torch state, and save the state on orientation change (#136) + ### 3.1.0 (2015-12-29) * Add support for Android 6 runtime permissions (Camera only). @@ -6,6 +16,10 @@ * Support library version 23+ is now a requirement. +### 3.1.0 (2015-12-29) + +* Initial Android 6 permission supoprt + ### 3.0.3 (2015-08-16) * Fix for preview on Google Glass. diff --git a/README.md b/README.md index 4e777c9a3..2b90f2a9a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Barcode scanning library for Android, using [ZXing][2] for decoding. -The project is loosly based on the [ZXing Android Barcode Scanner application][2], but is not affiliated with the official ZXing project. +The project is loosely based on the [ZXing Android Barcode Scanner application][2], but is not affiliated with the official ZXing project. Features: @@ -11,19 +11,6 @@ Features: 3. Scanning can be performed in landscape or portrait mode. 4. Camera is managed in a background thread, for fast startup time. -## Version 3 - -Where [version 2][4] was essentially just a stripped-down version of the [Barcode Scanner application][2], -version 3 is a rewrite of a large part of the codebase, making it more versatile and customizable. - -With the rewrite, many APIs for UI customization were removed. Instead, it is now recommended -to create a custom Activity using the lower-level components directly -(see [Customization](#customization) for details). - -Other notable changes: -* The camera is now loaded in a background thread, making the activity start faster. -* The camera preview and decoding now function correctly in any orientation. - ## Adding aar dependency with Gradle From version 3 this is a single library, supporting Gingerbread and later versions of Android @@ -37,8 +24,8 @@ repositories { } dependencies { - compile 'com.journeyapps:zxing-android-embedded:3.1.0@aar' - compile 'com.google.zxing:core:3.2.0' + compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar' + compile 'com.google.zxing:core:3.2.1' compile 'com.android.support:appcompat-v7:23.1.0' // Version 23+ is required } @@ -139,7 +126,7 @@ You can then use your local version by specifying in your `build.gradle` file: ## Sponsored by -[Journey][1] - Build enterprise mobile apps for iOS and Android. Work in the cloud, code in JavaScript and forget about back-end development. +[JourneyApps][1] - Creating business solutions with mobile apps. Fast. ## License diff --git a/build.gradle b/build.gradle index 5b190987e..0687e19f3 100644 --- a/build.gradle +++ b/build.gradle @@ -15,11 +15,11 @@ subprojects { mavenLocal() } - version = '3.1.0' + version = '3.2.0' group = 'com.journeyapps' apply plugin: 'android-sdk-manager' ext.androidBuildTools = '23.0.2' ext.androidTargetSdk = 23 - ext.zxingCore = 'com.google.zxing:core:3.2.0' + ext.zxingCore = 'com.google.zxing:core:3.2.1' }