Skip to content

Commit 706c407

Browse files
committed
v3.2.0; Readme updates.
1 parent 962592e commit 706c407

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

CHANGES.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2+
### 3.2.0 (2016-02-06)
3+
4+
* Improved preview scaling strategies, configurable between centerCrop, fitCenter, fitXY (#135)
5+
* Fix issues with Android 6 permission support (#123)
6+
* Fix camera initialization issues, specifically related to orientation changes (#133)
7+
* More control over focus mode (#112)
8+
* Keep drawing viewfinder frame after scanning / pausing (#134)
9+
* More control over torch state, and save the state on orientation change (#136)
10+
111
### 3.1.0 (2015-12-29)
212

313
* Add support for Android 6 runtime permissions (Camera only).
@@ -6,6 +16,10 @@
616
* Support library version 23+ is now a requirement.
717

818

19+
### 3.1.0 (2015-12-29)
20+
21+
* Initial Android 6 permission supoprt
22+
923
### 3.0.3 (2015-08-16)
1024

1125
* Fix for preview on Google Glass.

README.md

+4-17
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Barcode scanning library for Android, using [ZXing][2] for decoding.
44

5-
The project is loosly based on the [ZXing Android Barcode Scanner application][2], but is not affiliated with the official ZXing project.
5+
The project is loosely based on the [ZXing Android Barcode Scanner application][2], but is not affiliated with the official ZXing project.
66

77
Features:
88

@@ -11,19 +11,6 @@ Features:
1111
3. Scanning can be performed in landscape or portrait mode.
1212
4. Camera is managed in a background thread, for fast startup time.
1313

14-
## Version 3
15-
16-
Where [version 2][4] was essentially just a stripped-down version of the [Barcode Scanner application][2],
17-
version 3 is a rewrite of a large part of the codebase, making it more versatile and customizable.
18-
19-
With the rewrite, many APIs for UI customization were removed. Instead, it is now recommended
20-
to create a custom Activity using the lower-level components directly
21-
(see [Customization](#customization) for details).
22-
23-
Other notable changes:
24-
* The camera is now loaded in a background thread, making the activity start faster.
25-
* The camera preview and decoding now function correctly in any orientation.
26-
2714
## Adding aar dependency with Gradle
2815

2916
From version 3 this is a single library, supporting Gingerbread and later versions of Android
@@ -37,8 +24,8 @@ repositories {
3724
}
3825
3926
dependencies {
40-
compile 'com.journeyapps:zxing-android-embedded:3.1.0@aar'
41-
compile 'com.google.zxing:core:3.2.0'
27+
compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
28+
compile 'com.google.zxing:core:3.2.1'
4229
compile 'com.android.support:appcompat-v7:23.1.0' // Version 23+ is required
4330
}
4431
@@ -139,7 +126,7 @@ You can then use your local version by specifying in your `build.gradle` file:
139126

140127
## Sponsored by
141128

142-
[Journey][1] - Build enterprise mobile apps for iOS and Android. Work in the cloud, code in JavaScript and forget about back-end development.
129+
[JourneyApps][1] - Creating business solutions with mobile apps. Fast.
143130

144131

145132
## License

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ subprojects {
1515
mavenLocal()
1616
}
1717

18-
version = '3.1.0'
18+
version = '3.2.0'
1919
group = 'com.journeyapps'
2020
apply plugin: 'android-sdk-manager'
2121

2222
ext.androidBuildTools = '23.0.2'
2323
ext.androidTargetSdk = 23
24-
ext.zxingCore = 'com.google.zxing:core:3.2.0'
24+
ext.zxingCore = 'com.google.zxing:core:3.2.1'
2525
}

0 commit comments

Comments
 (0)