mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-23 08:30:06 +00:00
Chat升级API12
Signed-off-by: yeyedeshen <yangxin181@huawei.com>
This commit is contained in:
parent
fb19c799e1
commit
7f8b15b831
@ -138,9 +138,9 @@ url: 'pages/SearchPage' })。
|
||||
|
||||
### 约束与限制
|
||||
|
||||
1.本示例已适配API version 10版本SDK,SDK版本号(API Version 10 Release),镜像版本号(4.0Release)。
|
||||
1.本示例已适配API version 12版本SDK,SDK版本号(5.0.0.32),镜像版本号(5.0.0.32)。
|
||||
|
||||
2.本示例需要使用DevEco Studio 版本号(4.0Release)及以上版本才可编译运行。
|
||||
2.本示例需要使用DevEco Studio 版本号(4.1.3.700)版本才可编译运行。
|
||||
|
||||
### 下载
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022-2023 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2022-2024 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@ -19,14 +19,13 @@
|
||||
{
|
||||
"name": "default",
|
||||
"signingConfig": "default",
|
||||
"compileSdkVersion": 10,
|
||||
"compatibleSdkVersion": 10,
|
||||
"targetSdkVersion": 10,
|
||||
"compileSdkVersion": 12,
|
||||
"compatibleSdkVersion": 12,
|
||||
"targetSdkVersion": 12,
|
||||
"runtimeOS": "OpenHarmony"
|
||||
}
|
||||
],
|
||||
"signingConfigs": [
|
||||
]
|
||||
"signingConfigs": []
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2023-2024 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@ -147,7 +147,7 @@ class JsonObject {
|
||||
return jsonObj.MessageList;
|
||||
}
|
||||
|
||||
private bufferToString(buffer: ArrayBuffer): string {
|
||||
private bufferToString(buffer: ArrayBufferLike): string {
|
||||
Logger.info(TAG, 'bufferToString');
|
||||
let textDecoder = util.TextDecoder.create('utf-8', {
|
||||
ignoreBOM: true
|
||||
|
@ -1,6 +1,21 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
{
|
||||
"hvigorVersion": "3.0.2",
|
||||
"hvigorVersion": "4.1.2",
|
||||
"dependencies": {
|
||||
"@ohos/hvigor-ohos-plugin": "3.0.2"
|
||||
"@ohos/hvigor-ohos-plugin": "4.1.2"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user