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.
Libraries
- api/client
- api/endpoints
- basf_logic_components
- This library is for logic
- constants/alias
- constants/gs1
- constants/locale
- constants/settings
- constants/unit_enums
- domain/converters/date_converter
- domain/converters/input_formatters
- domain/converters/item_json_converters
- domain/converters/null_to_empty
- domain/exceptions/exceptions
- domain/exceptions/exceptions_extensions
- domain/models/auth/auth_credentials
- domain/models/auth/auth_endpoints_data
- domain/models/auth/login_credentials
- domain/models/auth/user
- domain/models/auth/user_session
- domain/models/barcode_data
- domain/models/barcode_id
- domain/models/barcode_info
- domain/models/errors/sap_error_message
- domain/models/scan_data
- extensions/barcode_extensions
- extensions/datetime_extensions
- extensions/double_extensions
- extensions/http_extensions
- extensions/json_extension
- extensions/response_extension
- extensions/scan_extensions
- extensions/string_extensions
- extensions/string_nullable_extension
- l10n/localizations/basf_logic_localizations
- l10n/localizations/basf_logic_localizations_de
- l10n/localizations/basf_logic_localizations_en
- l10n/localizations/basf_logic_localizations_es
- l10n/localizations/basf_logic_localizations_fr
- l10n/localizations/basf_logic_localizations_it
- l10n/localizations/basf_logic_localizations_ko
- l10n/localizations/basf_logic_localizations_pt
- l10n/localizations/basf_logic_localizations_zh
- l10n/localizations/localization_utils
- scanner/data/interpreter_data
- scanner/scan_interpreter
- scanner/services/hardware_scanner/hardware_scanner_service
- scanner/services/hardware_scanner/scanner_keyboard_interceptor_service
- scanner/validators/barcode_utils
- scanner/validators/barcodes_dictionary
- scanner/validators/company_internal_information_99_helper
- scanner/validators/regex_helper
- services/auth/auth_helper
- services/auth/auth_provider
- services/auth/auth_repo
- services/secured_storage/secured_storage