KBarcode icon indicating copy to clipboard operation
KBarcode copied to clipboard

[FEATURE] Barcodes Filter

Open alistairsykes opened this issue 7 years ago • 2 comments

Is your feature request related to a problem? Please describe. No problem

Describe the solution you'd like Similar to the already implemented sort feature, it would be great to add a filter, which would enable functionality such as only returning barcodes within a certain area (i.e. viewfinder).

It would be great to provide a base class (similar to BarcodeComparator.kt) which can provide the FrameMetadata, in order to enable more functionality.

Describe alternatives you've considered This can be done manually within the implementation listener, but would be simpler if it was integrated into the library.

Additional context None

alistairsykes avatar Mar 13 '19 09:03 alistairsykes

In the android manifest the "uses-feature" forces the application that uses this library to use them. An app could have the barcode scanning as optional feature, but by forcing these feature, the app cannot be installed because google play filters devices not matching.

A possible solution could be a change of: <uses-feature android:name="android.hardware.camera" /> <uses-feature android:name="android.hardware.camera.autofocus" />

in: <uses-feature android:name="android.hardware.camera" android:required="false"/> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

falkontre avatar Mar 21 '19 00:03 falkontre

In the android manifest the "uses-feature" forces the application that uses this library to use them. An app could have the barcode scanning as optional feature, but by forcing these feature, the app cannot be installed because google play filters devices not matching.

A possible solution could be a change of: <uses-feature android:name="android.hardware.camera" /> <uses-feature android:name="android.hardware.camera.autofocus" />

in: <uses-feature android:name="android.hardware.camera" android:required="false"/> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

I have raised this as new issue. Good spot. #2

alistairsykes avatar Mar 21 '19 08:03 alistairsykes

This library is no longer maintained. Marking wontfix

alistairsykes avatar Feb 21 '23 10:02 alistairsykes