Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

v1.0.3

Compare
Choose a tag to compare
@alistairsykes alistairsykes released this 10 May 08:21
· 93 commits to master since this release
50cbbf9

IntArray

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 our Camera2Source was only tracking isStarted() and not "is starting". We have now added this in the form of isOpening(), meaning it should now be safe to call start() 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.