Skip to content

Commit cebae48

Browse files
committed
升级鸿蒙 SDK 项目版本
1 parent f366200 commit cebae48

File tree

12 files changed

+46
-122
lines changed

12 files changed

+46
-122
lines changed

packages/harmony/build-profile.json5

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
{
22
"app": {
3-
"signingConfigs": [],
3+
"signingConfigs": [
4+
{
5+
"name": "default",
6+
"type": "HarmonyOS",
7+
"material": {
8+
"certpath": "/Users/yinxulai/.ohos/config/default_harmony_fpu2_yghxNoA0kAS7uSyUjsCNHF-lBFxZppL4cs3-fk=.cer",
9+
"storePassword": "0000001B1637096084E3BFAD9B5024935E0C7546E1C3A311CF1B1DBF0D684890956FA323AEAE14B5C1291A",
10+
"keyAlias": "debugKey",
11+
"keyPassword": "0000001BB05A9C89CBBE36BFF6BA01721EA1ABD990CC41E0A9B01ADD37F446C220A7CB6879C167E53333A4",
12+
"profile": "/Users/yinxulai/.ohos/config/default_harmony_fpu2_yghxNoA0kAS7uSyUjsCNHF-lBFxZppL4cs3-fk=.p7b",
13+
"signAlg": "SHA256withECDSA",
14+
"storeFile": "/Users/yinxulai/.ohos/config/default_harmony_fpu2_yghxNoA0kAS7uSyUjsCNHF-lBFxZppL4cs3-fk=.p12"
15+
}
16+
}
17+
],
418
"products": [
519
{
620
"name": "default",
721
"signingConfig": "default",
8-
"compileSdkVersion": "4.1.0(11)",
922
"compatibleSdkVersion": "4.1.0(11)",
1023
"runtimeOS": "HarmonyOS",
1124
}

packages/harmony/entry/oh-package-lock.json5

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/harmony/entry/src/main/ets/pages/Index.ets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import picker from '@ohos.file.picker'
22
import { createMultipartUploadV2Task, createDirectUploadTask, UploadFile, UploadTask, Progress as UploadProgress } from '@qiniu/upload'
33
import { UploadError } from '@qiniu/upload/src/main/ets/components/@internal'
44

5-
const token = 'dgHUyu6FJLTIqHZS2Be798icC_DXdHAqaNa9WnO0:Zzn3vpv6bkDTBLSeY_n7qi2oDwg=:eyJzY29wZSI6InNkay10ZXN0LTExIiwiZGVhZGxpbmUiOjE3MTQ3OTU4MzAsInJldHVybkJvZHkiOiJ7XCJrZXlcIjokKGtleSksXCJoYXNoXCI6ICQoZXRhZyksIFwidGVzdFwiOiQoeDp0ZXN0KX0ifQ=='
5+
const token = 'dgHUyu6FJLTIqHZS2Be798icC_DXdHAqaNa9WnO0:UrM8khFar8tad-Yf3xz-9WGyISE=:eyJzY29wZSI6InNkay10ZXN0LTExIiwiZGVhZGxpbmUiOjE4MTQ4OTU4MzAsInJldHVybkJvZHkiOiJ7XCJrZXlcIjokKGtleSksXCJoYXNoXCI6ICQoZXRhZyksIFwidGVzdFwiOiQoeDp0ZXN0KX0iLCJkZXRlY3RNaW1lIjoxfQ=='
66

77
@Entry
88
@Component
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"hvigorVersion": "4.0.4",
2+
"modelVersion": "5.0.0",
33
"dependencies": {
4-
"@ohos/hvigor-ohos-plugin": "4.0.4"
54
}
65
}

packages/harmony/hvigor/hvigor-wrapper.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/harmony/hvigorw

Lines changed: 0 additions & 48 deletions
This file was deleted.

packages/harmony/hvigorw.bat

Lines changed: 0 additions & 64 deletions
This file was deleted.
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1+
/**
2+
* Use these variables when you tailor your ArkTS code. They must be of the const type.
3+
*/
4+
export const HAR_VERSION = '1.0.0';
5+
export const BUILD_MODE_NAME = 'debug';
6+
export const DEBUG = true;
7+
export const TARGET_NAME = 'default';
8+
9+
/**
10+
* BuildProfile Class is used only for compatibility purposes.
11+
*/
112
export default class BuildProfile {
2-
static readonly HAR_VERSION = '1.0.0-rc.6';
3-
static readonly BUILD_MODE_NAME = 'debug';
4-
static readonly DEBUG = true;
5-
}
13+
static readonly HAR_VERSION = HAR_VERSION;
14+
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
15+
static readonly DEBUG = DEBUG;
16+
static readonly TARGET_NAME = TARGET_NAME;
17+
}

packages/harmony/library/oh-package-lock.json5

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/harmony/library/oh-package.json5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"modelVersion": "5.0.0",
23
"name": "@qiniu/upload",
34
"version": "1.0.0-rc.6",
45
"keywords": ["qiniu", "upload", "oss"],

packages/harmony/oh-package-lock.json5

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/harmony/oh-package.json5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"modelVersion": "5.0.0",
23
"name": "@qiniu/upload",
34
"version": "1.0.0-rc.1",
45
"description": "Qiniu Cloud Upload SDK",

0 commit comments

Comments
 (0)