Skip to content

Commit

Permalink
v3.2.0; Readme updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Feb 6, 2016
1 parent 962592e commit 706c407
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
14 changes: 14 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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).
Expand All @@ -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.
Expand Down
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand All @@ -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
}
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

0 comments on commit 706c407

Please sign in to comment.