Files
universal_ble/example/pubspec.yaml
T
Foti Dim 1334057a8a Show and filter by company name (#208)
* Update company identifier handling and enhance scanning features

- Updated `pubspec.lock` to version 1.2.0 and added `yaml` dependency.
- Introduced `CompanyIdentifierService` for loading and querying company identifiers from a new YAML file.
- Enhanced scanning functionality to support filtering by company names and IDs.
- Updated UI components to display company names alongside manufacturer data in scanned items.
- Improved search functionality to include company names in the filter criteria.

* Address AI comments

* Address AI comments

* Allow searching by company id

* Remove redundant loading state update in CompanyIdentifierService

* Enhance company ID parsing in CompanyIdentifierService

- Updated the `_parseCompanyId` method to support additional formats for company IDs, including non-prefixed strings interpreted as decimal or hexadecimal based on their content.
- Improved parsing logic to first attempt hexadecimal conversion if the string contains hex characters, enhancing flexibility in input handling.
2026-01-19 05:35:19 +01:00

42 lines
875 B
YAML

name: universal_ble_example
description: Demonstrates how to use the universal_ble plugin.
version: 1.0.0+1
publish_to: "none"
environment:
sdk: ">=3.1.3 <4.0.0"
dependencies:
flutter:
sdk: flutter
convert: ^3.1.1
expandable: ^5.0.1
cupertino_icons: ^1.0.2
shared_preferences: ^2.5.4
package_info_plus: ^9.0.0
url_launcher: ^6.3.2
path_provider: ^2.1.1
yaml: ^3.1.3
universal_ble:
path: ../
device_preview: ^1.3.1
device_preview_screenshot: ^1.0.0
dev_dependencies:
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
package_rename: ^1.10.1
flutter_launcher_icons:
git:
url: https://github.com/Navideck/flutter_launcher_icons.git
ref: improve-windows-ico-generation
flutter:
uses-material-design: true
assets:
- assets/icon.png
- assets/company_identifiers.yaml