Skip to content

Commit

Permalink
v3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Mar 20, 2017
1 parent 9ec92a5 commit 29848b2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
### 3.5.0 (2017-03-20)

* Allow changing the REQUEST_CODE value (#234).
* Add support for inverted scans (#235).
* Use zxing:core 3.3.0 by default (#265).

Fixes:

* Fix memory leak when using scan timeout (#283).
* Better handling of various camera errors (#241, #268, #270)

### 3.4.0 (2016-10-16)

Changes:

* Beep on scan is now controlled only by the media volume, and still plays
even if the device is in "silent mode", as long as the media volume is not muted.
* The 150ms delay after scanning is removed.

Fixes:

* An issue where the beep sometimes played twice is fixed (#221).
* Fix rare crash (#209)
* Fix orientation lock issue (#181)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repositories {
}
dependencies {
compile 'com.journeyapps:zxing-android-embedded:3.4.0'
compile 'com.journeyapps:zxing-android-embedded:3.5.0'
compile 'com.android.support:appcompat-v7:23.1.0' // Version 23+ is required
}
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
buildscript {
repositories {
jcenter()
maven { url 'https://jitpack.io' } // for sdk-manager-plugin
}

dependencies {
Expand All @@ -16,7 +15,7 @@ subprojects {
mavenLocal()
}

version = '3.4.0'
version = '3.5.0'
group = 'com.journeyapps'

ext.androidBuildTools = '25.0.2'
Expand Down
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 13
targetSdkVersion project.androidTargetSdk
versionCode 340
versionName "3.4.0"
versionCode 350
versionName "3.5.0"
}

def validConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ public void pauseAndWait() {
long startTime = System.nanoTime();
while(instance != null && !instance.isCameraClosed()) {
if(System.nanoTime() - startTime > 2000000000) {
// Don't wait for longer than 2 seconds
break;
}
try {
Expand Down

0 comments on commit 29848b2

Please sign in to comment.