Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Miscellaneous
*.class
*.log
*.tmp
*.temp
*.cache
*.pyc
*.swp
.DS_Store
Expand All @@ -9,6 +12,10 @@
.history
.svn/
.gradle/
**/.cache/
**/cache/
**/logs/
**/log/

# IntelliJ related
*.iml
Expand Down Expand Up @@ -44,6 +51,10 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release
/android/local.properties
/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
/android/.gradle/
/android/app/.cxx/

# VSCode
.vscode
Expand Down Expand Up @@ -72,3 +83,42 @@ android/app/.cxx
# Claude Code
/CLAUDE.md
/.claude/*.local.*

# Harmony temporary/generated
/.codex_tmp/
/DanXi/.codex_tmp/
/.tmp_hap_inspect/
/.tmp_har_inspect/
/.tmp_ohos_har_module/
/.tmp*/
/tmp/
**/tmp/
**/.tmp/
**/.tmp*/
/.tmp_ohos_har_module/
/ohos/.cache/
/ohos/**/build/
/ohos/**/oh_modules/
/ohos/**/node_modules/
/ohos/**/.hvigor/
/ohos/**/local.properties/
/Harmony/.hvigor/
/Harmony/oh_modules/
/Harmony/**/build/
/Harmony/signing/*
!/Harmony/signing/
!/Harmony/signing/README.md
!/Harmony/signing/.gitignore
/har/
**/*.hap
/.vendor_ohos/*
!/.vendor_ohos/screen_brightness_ohos-2.1.2/
!/.vendor_ohos/screen_brightness_ohos-2.1.2/**
/.vendor_ohos/**/build/
/.vendor_ohos/**/oh_modules/
/.vendor_ohos/**/node_modules/
/.vendor_ohos/**/.hvigor/
/.vendor_ohos/**/local.properties
/.vendor_ohos/**/oh-package-lock.json5
/.vendor_ohos/**/libs/*.har
/Microsoft/
20 changes: 20 additions & 0 deletions .ohos/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/node_modules
/oh_modules
/local.properties
/.idea
**/build
/.hvigor
.cxx
/.clangd
/.clang-format
/.clang-tidy
**/.test
**/BuildProfile.ets
**/oh-package-lock.json5
/package.json
/package-lock.json

**/src/main/resources/rawfile/flutter_assets/
**/libs/**/libapp.so
**/libs/**/libflutter.so
**/libs/**/libvmservice_snapshot.so
10 changes: 10 additions & 0 deletions .ohos/AppScope/app.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"app": {
"bundleName": "com.example.dan_xi",
"vendor": "example",
"versionCode": 1000000,
"versionName": "1.0.0",
"icon": "$media:app_icon",
"label": "$string:app_name"
}
}
8 changes: 8 additions & 0 deletions .ohos/AppScope/resources/base/element/color.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"color": [
{
"name": "start_window_background",
"value": "#FFFFFF"
}
]
}
8 changes: 8 additions & 0 deletions .ohos/AppScope/resources/base/element/string.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"string": [
{
"name": "app_name",
"value": "dan_xi"
}
]
}
Binary file added .ohos/AppScope/resources/base/media/app_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions .ohos/AppScope/resources/base/profile/main_pages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"src": [
"pages/Index"
]
}
15 changes: 15 additions & 0 deletions .ohos/flutter_module/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/node_modules
/oh_modules
/local.properties
/.preview
/build
/.cxx
/.test
**/BuildProfile.ets
**/oh-package-lock.json5
GeneratedPluginRegistrant.ets

**/src/main/resources/rawfile/flutter_assets/
**/libs/**/libapp.so
**/libs/**/libflutter.so
**/libs/**/libvmservice_snapshot.so
14 changes: 14 additions & 0 deletions .ohos/flutter_module/build-profile.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"apiType": 'stageMode',
"buildOption": {
},
"targets": [
{
"name": "default",
"runtimeOS": "HarmonyOS"
},
{
"name": "ohosTest",
}
]
}
6 changes: 6 additions & 0 deletions .ohos/flutter_module/hvigorfile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { harTasks } from '@ohos/hvigor-ohos-plugin';

export default {
system: harTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
}
1 change: 1 addition & 0 deletions .ohos/flutter_module/index.ets
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { GeneratedPluginRegistrant } from './src/main/ets/plugins/GeneratedPluginRegistrant'
10 changes: 10 additions & 0 deletions .ohos/flutter_module/oh-package.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "@ohos/flutter_module",
"version": "1.0.0",
"description": "Please describe the basic information.",
"main": "index.ets",
"author": "",
"license": "OpenValley",
"dependencies": {}
}

18 changes: 18 additions & 0 deletions .ohos/flutter_module/src/main/module.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"module": {
"name": "flutter_module",
"type": "har",
"description": "flutter_module",
"mainElement": "",
"deviceTypes": [
"phone",
"tablet",
"2in1"
],
"installationFree": false,
"abilities": [],
"requestPermissions": [
{"name" : "ohos.permission.INTERNET"},
]
}
}
6 changes: 6 additions & 0 deletions .ohos/hvigor/hvigor-config.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

{
"modelVersion": "5.1.0",
"dependencies": {
}
}
3 changes: 3 additions & 0 deletions .ohos/hvigorconfig.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { injectNativeModules, getFlutterProjectPath } from './include_flutter';

injectNativeModules(__dirname, getFlutterProjectPath(), 1)
7 changes: 7 additions & 0 deletions .ohos/hvigorfile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { appTasks } from '@ohos/hvigor-ohos-plugin';
import { flutterHvigorPlugin, getFlutterProjectPath } from './include_flutter';

export default {
system: appTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
plugins:[flutterHvigorPlugin(getFlutterProjectPath(), 1)] /* Custom plugin to extend the functionality of Hvigor. */
}
7 changes: 7 additions & 0 deletions .ohos/include_flutter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import path from 'path'

export { flutterHvigorPlugin, injectNativeModules } from 'flutter-hvigor-plugin'

export function getFlutterProjectPath(): string {
return path.dirname(__dirname)
}
13 changes: 13 additions & 0 deletions .ohos/oh-package.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"modelVersion": "5.1.0",
"name": "dan_xi",
"version": "1.0.0",
"description": "Please describe the basic information.",
"main": "",
"author": "",
"license": "",
"dependencies": {},
"devDependencies": {
"@ohos/hypium": "1.0.6"
}
}
3 changes: 3 additions & 0 deletions .vendor/flutter_inappwebview_linux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.1.0-beta.1

- Initial release.
Loading