Skip to content

Commit d092bfb

Browse files
authored
Merge pull request #430 from AgoraIO/dev/HarmonyOS_NEXT-Beta
update rtc sdk to 4.4.1
2 parents b04801a + 051cd3a commit d092bfb

File tree

162 files changed

+256
-46854
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+256
-46854
lines changed

Android/APIExample-Audio/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.application'
22

33
def localSdkPath= "${rootProject.projectDir.absolutePath}/../../sdk"
4-
def agoraSdkVersion = '4.4.0'
4+
def agoraSdkVersion = '4.4.1'
55

66
android {
77
compileSdkVersion 32

Android/APIExample-Compose/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ composeBom = "2023.08.00"
1212
loggingInterceptor = "4.10.0"
1313
materialIconsExtended = "1.6.0"
1414
navigationCompose = "2.7.7"
15-
agoraSdk = "4.4.0"
15+
agoraSdk = "4.4.1"
1616
okhttp = "4.10.0"
1717

1818
[libraries]

Android/APIExample/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
33
apply from: "${rootDir.absolutePath}/git-hooks.gradle"
44
apply from: 'vendors.gradle'
55

6-
def agoraSdkVersion = "4.4.0"
6+
def agoraSdkVersion = "4.4.1"
77
def localSdkPath= "${rootProject.projectDir.absolutePath}/../../sdk"
88

99

HarmonyOS_NEXT/APIExample/AppScope/app.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"app": {
3-
"bundleName": "io.agora.hmos.apiexample",
3+
"bundleName": "io.agora.api.example",
44
"vendor": "example",
55
"versionCode": 1000000,
66
"versionName": "1.0.0",

HarmonyOS_NEXT/APIExample/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ To build and run the sample application, get an App Id:
3232
export const AppCertificate: String = YOUR APP CERTIFICATE
3333
```
3434
35-
6. Download the har package from the [official website](https://doc.shengwang.cn/doc/rtc/harmonyos/resources#%E4%B8%8B%E8%BD%BD-sdk) and copy it to `HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
35+
6. Download the har package from the [official website](https://download.agora.io/sdk/release/Agora_Native_SDK_for_HarmonyOS_v4.4.1_FULL.har) and rename`AgoraRtcSdk.har`,then copy it to `HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
36+
7. config the signature information in `build-profile.json5` under the root directory with your own
3637
3738
You are all set. Now connect your HarmonyOS NEXT device and run the project.
3839

HarmonyOS_NEXT/APIExample/README.zh.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
// 注意:App证书放在客户端不安全,推荐放在服务端以确保 App 证书不会泄露。
3232
export const AppCertificate: String = YOUR APP CERTIFICATE
3333
```
34-
6. 在[官网](https://doc.shengwang.cn/doc/rtc/harmonyos/resources#%E4%B8%8B%E8%BD%BD-sdk)上下载har包,并复制到`HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
34+
6. 在[官网](https://download.agora.io/sdk/release/Agora_Native_SDK_for_HarmonyOS_v4.4.1_FULL.har)上下载har包,重命名`AgoraRtcSdk.har`并复制到`HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
35+
7. 在根目录下面的 `build-profile.json5` 文件配置你的签名
3536
3637
然后你就可以编译并运行项目了。
3738

HarmonyOS_NEXT/APIExample/build-profile.json5

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"app": {
3-
"signingConfigs": [
4-
],
3+
"signingConfigs": [],
54
"products": [
65
{
76
"name": "default",
87
"signingConfig": "default",
9-
"compatibleSdkVersion": "4.1.0(11)",
8+
"compatibleSdkVersion": "5.0.0(12)",
109
"runtimeOS": "HarmonyOS",
10+
"buildOption": {
11+
"strictMode": {
12+
"useNormalizedOHMUrl": true
13+
},
14+
}
1115
}
1216
],
1317
"buildModeSet": [

HarmonyOS_NEXT/APIExample/entry/oh-package-lock.json5

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

HarmonyOS_NEXT/APIExample/entry/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "",
77
"license": "",
88
"dependencies": {
9-
"AgoraRtcSdk": "file:./libs/AgoraRtcSdk.har",
9+
"@shengwang/rtc-full": "file:./libs/AgoraRtcSdk.har",
1010
"librawdataprocessing.so": "file:./src/main/cpp/types/librawdataprocessing"
1111
}
1212
}

HarmonyOS_NEXT/APIExample/entry/src/main/cpp/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ if(DEFINED PACKAGE_FIND_FILE)
99
endif()
1010

1111
include_directories(${ROOT_PATH}
12-
${ROOT_PATH}/include)
12+
${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@shengwang/rtc-full/include)
1313

14-
set(AGORA_LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/AgoraRtcSdk/libs)
14+
set(AGORA_LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@shengwang/rtc-full/libs)
1515

1616
add_library(agora_rtc_sdk SHARED IMPORTED)
1717
set_target_properties(agora_rtc_sdk PROPERTIES IMPORTED_LOCATION ${AGORA_LIB_PATH}/${CMAKE_OHOS_ARCH_ABI}/libagora_rtc_sdk.so)

0 commit comments

Comments
 (0)