- Add an optional timeout to cancel scanning. (#161)
- Rename CompoundBarcodeView to DecoratedBarcodeView.
- Add more internal documentation (comments).
- 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)
- Add support for Android 6 runtime permissions (Camera only).
- Experimental support for using TextureView instead of SurfaceView.
- Fix build issues with custom attributes.
- Support library version 23+ is now a requirement.
- Initial Android 6 permission supoprt
- Fix for preview on Google Glass.
- Make ViewfinderView extensible. (#75)
- Add option to return image of barcode via Intents. (#72)
- Add helper class for encoding barcodes.
- Support custom layouts for CompoundBarcodeView.
- Fix auto-focus stopping when enabling the torch.
- Fix rendering of BarcodeView / CompoundBarcodeView in layout preview of Android Studio.
- Add option to disable beep via IntentIntegrator.
- Fix some memory leaks with RotationListener (affected some devices only).
- First stable release of 3.0.
- Extract functionality out of CaptureActivity into CompoundBarcodeView and CaptureManager.
- Add sample with Lollipop Toolbar/Actionbar (using appcompat library).
- Add preview of scanned image to the result.
- For some warnings for "sending message to a Handler on a dead thread"
- Use DecoderFactory instead of Decoder.
- Fix some orientation issues.
- Major rewrite, allowing the library to be embedded in other Activities. See the new README for details.
- Fix issues with portrait orientation.
- Fix camera id used when resuming (from upstream ZXing)
- Change default result duration to 0.
- Remove more unused code.
- Experimental setOrientation() option.
- Update to ZXing 3.2.0.
- Removed HelpActivity and EncodeActivity. If there is a need for EncodeActivity, it can be split off as a separate lib. Thanks to @rehan-vanzyl.
- Remove some permissions and
<supports-screens>
section from the AndroidManifest.xml.
- Changed group name, artifact name, GitHub organization and Maven repository.
There are now three libraries:
- zxing-android-minimal (equivalent to Barcode Scanner 4.7.0)
- zxing-android-legacy (roughly equivalent to zxing-android-minimal 1.2.1, or Barcode Scanner 4.3.2)
- zxing-android-integration
See the readme for more details.
Other changes:
- Update to zxing core 3.0.1
- Prefix all resources with zxing or zxinglegacy
- Rewrote IntentIntegrator, based on the official IntentIntegrator 3.0.1.
- Add support for custom capture layouts thanks to @martar.
- Add some helper methods to IntentIntegrator.