diff --git a/README.en.md b/README.en.md index fceaff051ae..39b2e8345b2 100644 --- a/README.en.md +++ b/README.en.md @@ -6,8 +6,11 @@ Source of the original repository: https://github.com/flutter/flutter ## Repository Description This repository is an extension of the Flutter SDK for compatibility with OpenHarmony. It allows DevEco Studio IDE or terminals to use Flutter Tools instructions to compile and build OpenHarmony applications. +## Flutter OH version evolution planning and branching strategy +You can learn more about our adaptation of Flutter for OpenHarmony in the [Flutter OH version evolution planning and branching strategy](https://gitcode.com/openharmony-tpc/flutter_flutter/wiki/Flutter-OH%E7%89%88%E6%9C%AC%E6%BC%94%E8%BF%9B%E8%A7%84%E5%88%92%E5%92%8C%E5%88%86%E6%94%AF%E7%AD%96%E7%95%A5.md). + ## Development Documentation -[Flutter_samples](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs) +[Flutter_samples](https://gitcode.com/openharmony-tpc/flutter_samples/tree/master/ohos/docs) ## Environment Dependencies @@ -55,7 +58,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://gitcode.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-tpc/flutter_flutter.git`, specify the dev or master branch, and set up the environment. ```sh export PUB_CACHE=D:/PUB @@ -122,32 +125,6 @@ This repository is an extension of the Flutter SDK for compatibility with OpenHa flutter build app --release ``` -## Release Notes - - [3.7.12-ohos-1.1.1 Release](/release-notes/Flutter%203.7.12-ohos%201.1.1%20ReleaseNote.en.md) - - [3.7.12-ohos-1.1.0 Release](/release-notes/Flutter%203.7.12-ohos%201.1.0%20ReleaseNote.en.md) - - [3.7.12-ohos-1.0.7 Release](/release-notes/Flutter%203.7.12-ohos%201.0.7%20ReleaseNote.en.md) - - [3.7.12-ohos-1.0.6 Release](/release-notes/Flutter%203.7.12-ohos%201.0.6%20ReleaseNote.en.md) - - [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) - - [3.7.12-ohos-1.0.1 Release](/release-notes/Flutter%203.7.12-ohos%201.0.1%20ReleaseNote.en.md) - - [3.7.12-ohos-1.0.0 Release](/release-notes/Flutter%203.7.12-ohos%201.0.0%20ReleaseNote.en.md) - -To use a specific version of flutter, you can obtain it based on the version tag, and the format of the version tag is described in "TAG Description" - -### Branch description - - dev: The main branch of development based on the 3.7.12 branch of the upstream community. - - br_3.7.12-ohos-X.X.X: The release branch based on the upstream community 3.7.12 after adapting to ohos. - - 3.22.0-ohos:The main branch of development based on the 3.22.0 branch of the upstream community. - - 3.22.1-ohos-X.X.X: The release branch based on the upstream community 3.22.0 after adapting to ohos. - - oh-3.27.4-dev: The branch based on the upstream community 3.27.4 branch adapted to ohos, which is currently being adapted, and has not been commercially released and does not guarantee quality. It is expected to be released in Q3 2025. - - Other branches: Branch of the project run process. - -### TAG description - - 3.7.12-ohos-X.X.X: version X.X.X based on the upstream community 3.7.12 branch after adapting to ohos - - 3.22.1-ohos-X.X.X: version X.X.X based on the upstream community 3.22.0 branch after adapting to ohos - ## Instruction List Compatible with OpenHarmony | Instruction| Description| How to Use | | ------- | ------- |-------------------------------------------------------------------| @@ -241,7 +218,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://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md + #https://gitcode.com/openharmony-tpc/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. @@ -290,4 +267,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://gitcode.com/openharmony-sig/flutter_samples/blob/master/ohos/docs/08_FAQ/README_EN.md) +Reference: [FAQs] (https://gitcode.com/openharmony-tpc/flutter_samples/blob/master/ohos/docs/08_FAQ/README_EN.md) diff --git a/README.md b/README.md index 57b143619e8..95ae9064199 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,11 @@ Flutter SDK 仓库 ## 仓库说明 本仓库是基于Flutter SDK对于OpenHarmony平台的兼容拓展,可支持DevEco Studio IDE或者终端使用Flutter Tools指令编译和构建OpenHarmony应用程序。 +## Flutter OH版本演进规划和分支策略 +您可以在[Flutter OH版本演进规划和分支策略](https://gitcode.com/openharmony-tpc/flutter_flutter/wiki/Flutter-OH%E7%89%88%E6%9C%AC%E6%BC%94%E8%BF%9B%E8%A7%84%E5%88%92%E5%92%8C%E5%88%86%E6%94%AF%E7%AD%96%E7%95%A5.md)中了解更多关于我们对Flutter的OpenHarmony适配版本的说明。 + ## 开发文档 -[参考文档](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs) +[参考文档](https://gitcode.com/openharmony-tpc/flutter_samples/tree/master/ohos/docs) ## 环境依赖 @@ -57,7 +60,7 @@ Flutter SDK 仓库 PATH=%TOOL_HOME%\tools\node ``` -2. 通过代码工具下载当前仓库代码 `git clone https://gitcode.com/openharmony-sig/flutter_flutter.git` ,指定dev或master分支,并配置环境。 +2. 通过代码工具下载当前仓库代码 `git clone https://gitcode.com/openharmony-tpc/flutter_flutter.git` ,指定dev或master分支,并配置环境。 ```sh export PUB_CACHE=D:/PUB @@ -124,32 +127,6 @@ Flutter SDK 仓库 flutter build app --release ``` -## 版本说明 - - [3.7.12-ohos-1.1.1 Release](/release-notes/Flutter%203.7.12-ohos%201.1.1%20ReleaseNote.md) - - [3.7.12-ohos-1.1.0 Release](/release-notes/Flutter%203.7.12-ohos%201.1.0%20ReleaseNote.md) - - [3.7.12-ohos-1.0.7 Release](/release-notes/Flutter%203.7.12-ohos%201.0.7%20ReleaseNote.md) - - [3.7.12-ohos-1.0.6 Release](/release-notes/Flutter%203.7.12-ohos%201.0.6%20ReleaseNote.md) - - [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) - - [3.7.12-ohos-1.0.1 Release](/release-notes/Flutter%203.7.12-ohos%201.0.1%20ReleaseNote.md) - - [3.7.12-ohos-1.0.0 Release](/release-notes/Flutter%203.7.12-ohos%201.0.0%20ReleaseNote.md) - -要使用指定版本flutter,可以基于版本tag获取,版本tag格式见“TAG说明” - -### 分支说明 - - dev: 基于上游社区3.7.12分支的开发主分支。 - - br_3.7.12-ohos-X.X.X: 基于上游社区3.7.12分支适配ohos后的发布分支。 - - 3.22.0-ohos:基于上游社区3.22.0分支的开发主分支。 - - 3.22.1-ohos-X.X.X: 基于上游社区3.22.0分支适配ohos后的发布分支。 - - oh-3.27.4-dev: 基于上游社区3.27.4分支适配ohos的分支,目前正在适配中,未商用发布,不保证质量。预计在2025年Q3发布。 - - 其他分支:项目运行过程分支。 - -### TAG说明 - - 3.7.12-ohos-X.X.X: 基于上游社区3.7.12分支适配ohos的X.X.X版本。 - - 3.22.1-ohos-X.X.X: 基于上游社区3.22.0分支适配ohos的X.X.X版本。 - ## 已兼容OpenHarmony开发的指令列表 | 指令名称 | 指令描述 | 使用说明 | | ------- | ------- |-------------------------------------------------------------------| @@ -171,7 +148,7 @@ Flutter SDK 仓库 | clean | 清除项目依赖 | flutter clean | | cache | 清除全局缓存数据 | flutter pub cache clean | -附:[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) +附:[Flutter高频使用的三方库(部分OpenHarmony化)列表](https://gitcode.com/openharmony-tpc/flutter_packages#openharmony%E5%B9%B3%E5%8F%B0%E5%B7%B2%E5%85%BC%E5%AE%B9%E5%BA%93) ## 常见问题 @@ -256,7 +233,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://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md + #https://gitcode.com/openharmony-tpc/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md ``` 12. 执行 `flutter build hap` 时遇到路径校验报错。 @@ -307,4 +284,4 @@ Flutter SDK 仓库 A crash report has been written to D:\code\flutter_01.log. ``` -[更多FAQ](https://gitcode.com/openharmony-sig/flutter_samples/blob/master/ohos/docs/08_FAQ/README.md) +[更多FAQ](https://gitcode.com/openharmony-tpc/flutter_samples/blob/master/ohos/docs/08_FAQ/README.md) diff --git a/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.en.md b/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.en.md index d5dd5dd130e..6c4e0973cdb 100644 --- a/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.en.md +++ b/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.en.md @@ -23,7 +23,7 @@ April 28, 2025 - Flutter SDK: 3.7.12-ohos-1.1.0 ## Changelog -- [5.1.0.403](/CHANGELOG.md) +- [5.1.0.403](../CHANGELOG.md) ## Enablement Documents - [Document Link](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs) diff --git a/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.md b/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.md index 7b224f1c134..2e07a984cb9 100644 --- a/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.md +++ b/release-notes/Flutter 3.7.12-ohos 1.1.0 ReleaseNote.md @@ -25,7 +25,7 @@ OpenHarmony API16 - Flutter SDK: 3.7.12-ohos-1.1.0 ## Changelog -- [5.1.0.403](/CHANGELOG.md) +- [5.1.0.403](../CHANGELOG.md) ## 赋能文档 - [文档链接](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs) \ No newline at end of file diff --git a/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.en.md b/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.en.md index 8151a5cf78c..49c87eeb29f 100644 --- a/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.en.md +++ b/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.en.md @@ -20,7 +20,7 @@ May 21, 2025 - Flutter SDK: 3.7.12-ohos-1.1.1 ## Changelog -- [5.1.0.403SP1](/CHANGELOG.md) +- [5.1.0.403SP1](../CHANGELOG.md) ## Enablement Documents - [Document Link](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs) diff --git a/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.md b/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.md index 34973e1b29d..eb45c5f1080 100644 --- a/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.md +++ b/release-notes/Flutter 3.7.12-ohos 1.1.1 ReleaseNote.md @@ -20,7 +20,7 @@ OpenHarmony API16 - Flutter SDK: 3.7.12-ohos-1.1.1 ## Changelog -- [5.1.0.403SP1](/CHANGELOG.md) +- [5.1.0.403SP1](../CHANGELOG.md) ## 赋能文档 - [文档链接](https://gitcode.com/openharmony-sig/flutter_samples/tree/master/ohos/docs) \ No newline at end of file