basf_logic_components 1.3.3
basf_logic_components: ^1.3.3 copied to clipboard
BASF logic components
BASF Logic Components #
Logic components for BASF projects
Features #
- Barcode interpretation
- Hardware scanner interceptors (Honeywell and others)
- Authentication
- Hu management
- Delivery management
- Order management
Auth, Delivery, HU, Order methods and requests are in lib/services
Honeywell scanner - android setup #
If you need honeywell scanner to work with UnifiedHardwareScanService, then additional actions are required.
1: Copy honeywell folder to android folder
Copy the honeywell folder which is inside the example code sources at: .../.pub-cache/hosted/pub.dartlang.org/honeywell_scanner-x.x.x+x/example/android/honeywell into your android project module which is going to use this plugin. This step is necessary and crucial because the Honeywell Data Collection Android library is a bundle .aar which has to be referenced as a project library.
2: Update gradle settings
Add this include ':honeywell' to your settings.gradle in your android project module to allow the plugin to locate the honeywell.aar library.
3: Update android manifest
Add tools:replace="android:label" under application tag in your AndroidManifest.xml, this is required because the honeywell.aar library defines an android:label="@string/app_name" which conflicts with your project's label resulting in a Manifest merger failed error.
If error remains, you should check if xmlns:tools="http://schemas.android.com/tools" is missing in the manifest block.