KBarcode v1.0.3 Release Notes

Release Date: 2019-05-10 // almost 5 years ago
  • 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.