Files
Guangfei.Zhao f2dabe6b91 feat: Add build info and localization for entry app
- Introduced buildinfo.json5 to enable impeller feature.
- Added Chinese localization strings in string.json for module description and entry ability.
- Created Ability.test.ets for unit testing of ability functionalities.
- Implemented List.test.ets to run the ability tests.
- Developed TestAbility.ets to manage test execution and lifecycle events.
- Created Index.ets as a testability page with UI components.
- Added OpenHarmonyTestRunner.ts for managing test execution in OpenHarmony.
- Defined module.json5 for entry_test module configuration.
- Established color.json and string.json for base resources.
- Included icon.png for the test module.
- Created test_pages.json to define testability page sources.
- Configured hvigor and oh-package.json5 for project setup.
- Updated pubspec.yaml and related files to downgrade Dart SDK to 3.11.0 and adjust dependencies.
- Added PowerShell script to enable OpenHarmony Flutter toolchain.
- Updated multiple package pubspec.yaml files to align with Dart SDK version 3.11.0 and adjust dependencies accordingly.
2026-09-02 23:23:43 +08:00

35 lines
1.0 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: native_scan
description: 扫码能力(条码 / VIN / 车牌)。Pigeon 定义跨语言接口。
publish_to: none
version: 0.1.0
resolution: workspace
# ---------------------------------------------------------------------------
# native_* 的硬约束(01):只依赖 Flutter SDK 和 Pigeon 产物,
# **不依赖仓库内任何包**——包括 core_foundation。
# 因此本包抛的是包内自定义的 NativeScanException,由调用方转成 NativeException。
# ---------------------------------------------------------------------------
environment:
sdk: ^3.11.0
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter
# 27.x 需要 analyzer >=10,与 Harmony 兼容的 riverpod_generator 4.0.3
# (analyzer ^9)不能共存;26.3.1 同时兼容 Dart 3.11 与 analyzer 9。
pigeon: 26.3.1
flutter:
plugin:
platforms:
android:
package: com.conti.native_scan
pluginClass: NativeScanPlugin
ios:
pluginClass: NativeScanPlugin