Changelog History
-
v1.2.2 Changes
March 13, 2020๐ Changes:
- Coroutines 1.3.3 -> 1.3.4
-
v1.2.1 Changes
March 11, 2020Update from 1.2.0 -> 1.2.1 will be required.
๐ There was an issue with the 1.2.0 artifact meaning a class wasn't included. Fixed this issue.
-
v1.2.0 Changes
March 11, 2020โ We have fixed the sorting of barcodes not being used. We are now targeting Java8 in order to be able to use the latest tooling.
๐ Changes
- ๐ Fixed bug where the sort wasn't being applied correctly
- Now targeting Java 8
- โก๏ธ Updated our CI configuration
- โก๏ธ Updated our quality checking tools
- ๐ Build tools 3.5.3 -> 3.6.1
- Gradle 5.4.1 -> 5.6.4
- Firebase Core 17.2.2 -> 17.2.3
- Firebase ML 21.0.0 โ 24.0.1
- โ Added Firebase ML Barcode 16.0.2
- Kotlin 1.3.61 โ 1.3.70
- Material 1.0.0 -> 1.1.0
- Lifecycle 2.1.0 -> 2.2.0
- Coroutines 1.3.2 -> 1.3.3
- โก๏ธ Updated various testing dependencies
-
v1.1.1 Changes
January 21, 2020Changes
- โ Added better exception handling for
createCaptureSession()
- โ Added causes and messages to some camera exceptions
- โ Added better exception handling for
openCamera()
- โ Added better exception handling for
createCaptureRequest()
andsetRepeatingRequest()
- ๐ Moved the closing of the image reader to before the closing of the camera. This fixes a bug where, in a small number of cases there is no camera facing available in the
onImageAvailable
callback - Firebase Core 17.2.1 โ 17.2.2
- Kotlin 1.3.50 โ 1.3.61
- โ Added better exception handling for
-
v1.1.0 Changes
December 13, 2019BEHAVIOUR CHANGES
LiveData Fix
#25
When the processor is stopped, it empties the list of barcodes.Other
Target
Now targets 29
Dependencies
- Firebase core 17.2.0 -> 17.2.1
- ๐ Build tools 3.5.1 -> 3.5.3
- Google service 4.3.2 -> 4.3.3
-
v1.0.5 Changes
October 22, 2019โก๏ธ We highly recommend updating from 1.0.4 to 1.0.5, since this update fixes a a couple of significant issues.
๐ Coroutine Fixes
#23
๐ท Made some fixes to the way we use coroutines. Cancelled the current job rather than scope so that we can launch new coroutines from the same scope. Changed our Firebase call to be a suspend call.Surface Invalid
#22
โ Added a check after opening the camera to ensure that the surfaces are still valid. -
v1.0.4 Changes
October 15, 2019Lag Fix [#19]
๐ There were some dropped frames in some cases. This was caused by
FirebaseVisionImage.fromMediaImage(image, frameMetadata.rotation)
taking too long. To solve we introduced coroutines to the project and made this run on a background thread.Miscellaneous
Dependencies
- โ Various test dependencies
- ๐ Build tools 3.4.0 -> 3.5.1
- Firebase core 16.0.9 -> 17.2.0
- Various lifecycle dependencies
- Google service 4.2.0 -> 4.3.2
- Gradle 5.1.1 -> 5.4.1
- Firebase ML Vision 20.0.0 -> 21.0.0
-
v1.0.3 Changes
May 10, 2019IntArray
๐ We have changed the API to now use IntArray instead of Array for barcode formats. We did this because IntArray is more efficient. We have deprecated the previous method, and it will be removed in a future release. We have offered a quick fix replacement if you are using Android Studio. You may wish to consider making changes in your code to utilise IntArray and gain the efficiencies too.
Just put your cursor on the method and use your shortcut for quick fix
https://developer.android.com/studio/intro/keyboard-shortcuts
๐ Project quick fix (show intention actions and quick fixes) | Alt + Enter | Option + Enter๐ start() Fixes
๐ #13 - See this issue for some more details
In summary calling
start()
twice in quick succession caused issues because ourCamera2Source
was only trackingisStarted()
and not "is starting". We have now added this in the form ofisOpening()
, meaning it should now be safe to callstart()
twice.Miscellaneous
Dependencies
- Kotlin: 1.3.21 -> 1.3.31
- ๐ Build tools: 3.3.2 -> 3.4.0
- Firebase Core: 16.0.8 -> 16.0.9
- Firebase ML: 19.0.3 -> 20.0.0
Quality
โก๏ธ We updated our quality config files to our latest standards here at Brightec. This caused a few minor changes in order to fix out some newly identified inefficiencies.
-
v1.0.2 Changes
April 01, 2019๐ฅ Breaking Changes
- ๐
Barcode.cornerPoints
: Type change from Array to List. This enables collection functionality and is considered better practice.
Other Changes
- โ Added more functionality to the
Barcode
class, including access to type specific classes, for exampleCalendarEvent
andWiFi
- โก๏ธ Updated some Firebase dependencies
- ๐
-
v1.0.1 Changes
March 21, 2019