1.0.5版本说明

Signed-off-by: liujiake <liujiake999@163.com>
This commit is contained in:
liujiake
2025-03-08 10:19:12 +08:00
parent d5d5f19196
commit e7fbe5a2fb
4 changed files with 54 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ Source of the original repository: https://github.com/flutter/flutter
This repository is an extension of the Flutter SDK for compatibility with OpenHarmony. It allows IDEs or terminals to use Flutter Tools instructions to compile and build OpenHarmony applications.
## Development Documentation
[Flutter_samples](https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs)
[Flutter_samples](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs)
## Environment Dependencies
@@ -55,7 +55,7 @@ This repository is an extension of the Flutter SDK for compatibility with OpenHa
PATH=%TOOL_HOME%\tools\node
```
2. Use a code editor to download the current repository code by running `git clone https://gitee.com/openharmony-sig/flutter_flutter.git`, specify the dev or master branch, and set up the environment.
2. Use a code editor to download the current repository code by running `git clone https://gitcode.com/openharmony-sig/flutter_flutter.git`, specify the dev or master branch, and set up the environment.
```sh
export PUB_CACHE=D:/PUB
@@ -74,7 +74,7 @@ This repository is an extension of the Flutter SDK for compatibility with OpenHa
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
# flutter_flutter/bin directory pulled from Gitee
# flutter_flutter/bin directory pulled from gitcode
export PATH=/home/<user>/ohos/flutter_flutter/bin:$PATH
# HamonyOS SDK
@@ -123,6 +123,7 @@ This repository is an extension of the Flutter SDK for compatibility with OpenHa
```
## Release Notes
- [3.7.12-ohos-1.0.5 Release](/release-notes/Flutter%203.7.12-ohos%201.0.5%20ReleaseNote.en.md)
- [3.7.12-ohos-1.0.4 Release](/release-notes/Flutter%203.7.12-ohos%201.0.4%20ReleaseNote.en.md)
- [3.7.12-ohos-1.0.3 Release](/release-notes/Flutter%203.7.12-ohos%201.0.3%20ReleaseNote.en.md)
- [3.7.12-ohos-1.0.2 Release](/release-notes/Flutter%203.7.12-ohos%201.0.2%20ReleaseNote.en.md)
@@ -222,7 +223,7 @@ Appendix: [Flutter Third-Party Library Adaptation Program](https://docs.qq.com/s
#D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5.
#You need to update the Flutter plugin project structure.
#See
#https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md
#https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md
```
12. A path verification error is reported when the `flutter build hap` instruction is executed.
@@ -271,4 +272,4 @@ Appendix: [Flutter Third-Party Library Adaptation Program](https://docs.qq.com/s
A crash report has been written to D:\code\flutter_01.log.
```
Reference: [FAQs] (https://gitee.com/openharmony-sig/flutter_samples/blob/master/ohos/docs/08_FAQ/README_EN.md)
Reference: [FAQs] (https://gitcode.com/openharmony-sig/flutter_samples/blob/master/ohos/docs/08_FAQ/README_EN.md)

View File

@@ -7,7 +7,7 @@ Flutter SDK 仓库
本仓库是基于Flutter SDK对于OpenHarmony平台的兼容拓展可支持IDE或者终端使用Flutter Tools指令编译和构建OpenHarmony应用程序。
## 开发文档
[参考文档](https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs)
[参考文档](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs)
## 环境依赖
@@ -55,7 +55,7 @@ Flutter SDK 仓库
PATH=%TOOL_HOME%\tools\node
```
2. 通过代码工具下载当前仓库代码`git clone https://gitee.com/openharmony-sig/flutter_flutter.git`指定dev或master分支并配置环境
2. 通过代码工具下载当前仓库代码`git clone https://gitcode.com/openharmony-sig/flutter_flutter.git`指定dev或master分支并配置环境
```sh
export PUB_CACHE=D:/PUB
@@ -123,6 +123,7 @@ Flutter SDK 仓库
```
## 版本说明
- [3.7.12-ohos-1.0.5 Release](/release-notes/Flutter%203.7.12-ohos%201.0.5%20ReleaseNote.md)
- [3.7.12-ohos-1.0.4 Release](/release-notes/Flutter%203.7.12-ohos%201.0.4%20ReleaseNote.md)
- [3.7.12-ohos-1.0.3 Release](/release-notes/Flutter%203.7.12-ohos%201.0.3%20ReleaseNote.md)
- [3.7.12-ohos-1.0.2 Release](/release-notes/Flutter%203.7.12-ohos%201.0.2%20ReleaseNote.md)
@@ -150,7 +151,7 @@ Flutter SDK 仓库
| clean | 清除项目依赖 | flutter clean |
| cache | 清除全局缓存数据 | flutter pub cache clean |
附:[Flutter高频使用的三方库部分OpenHarmony化列表](https://gitee.com/openharmony-sig/flutter_packages#openharmony%E5%B9%B3%E5%8F%B0%E5%B7%B2%E5%85%BC%E5%AE%B9%E5%BA%93)
附:[Flutter高频使用的三方库部分OpenHarmony化列表](https://gitcode.com/openharmony-sig/flutter_packages#openharmony%E5%B9%B3%E5%8F%B0%E5%B7%B2%E5%85%BC%E5%AE%B9%E5%BA%93)
## 常见问题
@@ -220,7 +221,7 @@ Flutter SDK 仓库
#D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5.
#You need to update the Flutter plugin project structure.
#See
#https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md
#https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md
```
12. 执行`flutter build hap` 时遇到路径校验报错。
@@ -263,4 +264,4 @@ Flutter SDK 仓库
A crash report has been written to D:\code\flutter_01.log.
```
[更多FAQ](https://gitee.com/openharmony-sig/flutter_samples/blob/master/ohos/docs/08_FAQ/README.md)
[更多FAQ](https://gitcode.com/openharmony-sig/flutter_samples/blob/master/ohos/docs/08_FAQ/README.md)

View File

@@ -0,0 +1,21 @@
## Version Overview
This version is the Flutter OpenHarmony platform version 1.0.5, based on the Flutter 3.7.12 version adaptation. This version supports and improves the capabilities of the OpenHarmony platform side, supports PC keyboard and mouse features, etc.
## Release Scope
HarmonyOS NEXT, API14
## New Features
- Support PC keyboard and mouse features, multiple windows, etc., cancel the default full screen window
- FlutterPage supports expandSafeArea
- Support hdc to send characters to Flutter applications
## Version Release Time
March 5, 2025
## Version Support
- ROM: 205.0.1.126
- IDE: DevEco Studio 5.0.7.210
- Flutter SDK: 3.7.12-ohos-1.0.5
## Enablement Documents
- [Document Link](https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs)

View File

@@ -0,0 +1,21 @@
## 版本概述
本版本为Flutter OpenHarmony平台1.0.5版本基于Flutter 3.7.12版本适配。本版本支持和完善OpenHarmony平台侧能力支持PC键鼠特性等。
## 发布范围
HarmonyOS NEXT, API14
## 新增特性
- 支持PC键鼠特性、多窗口等取消窗口默认全屏
- FlutterPage支持expandSafeArea
- 支持hdc发送字符给Flutter应用
## 版本发布时间
2025年3月5日
## 版本配套
- ROM: 205.0.1.126
- IDE: DevEco Studio 5.0.7.210
- Flutter SDK: 3.7.12-ohos-1.0.5
## 赋能文档
- [文档链接](https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs)