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.
This commit is contained in:
Guangfei.Zhao
2026-09-02 23:23:43 +08:00
parent 681688dfae
commit f2dabe6b91
53 changed files with 655 additions and 69 deletions
+6 -4
View File
@@ -11,16 +11,18 @@ resolution: workspace
# 因此本包里的 token 刷新用的是一个**不带任何拦截器的裸 Dio**。
# ---------------------------------------------------------------------------
environment:
sdk: ^3.12.0
sdk: ^3.11.0
dependencies:
core_foundation: ^0.1.0
dio: ^5.11.0
flutter:
sdk: flutter
flutter_riverpod: ^3.3.2
flutter_riverpod: 3.2.1
flutter_secure_storage: ^11.0.0
riverpod_annotation: ^4.0.3
# 4.0.3+ 的 generator 引入 analyzer ^12,要求 meta ^1.18;
# Harmony Flutter(Dart 3.11)固定 meta 1.17.0,故保持在兼容组合。
riverpod_annotation: 4.0.2
dev_dependencies:
build_runner: ^2.4.13
@@ -28,4 +30,4 @@ dev_dependencies:
flutter_test:
sdk: flutter
mocktail: ^1.0.5
riverpod_generator: ^4.0.4
riverpod_generator: 4.0.3