From 4ca545e6264c479ba92fdbcece13762a290465a9 Mon Sep 17 00:00:00 2001 From: "yanli.huang" Date: Thu, 25 Jan 2024 16:07:57 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat=EF=BC=9A=20=E5=A2=9E=E5=8A=A0=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/SUMMARY.md | 6 ++---- en/about-cocos-service.md | 31 +++++++++++++------------------ en/agc-apms.md | 5 ++++- en/agc-function.md | 7 ++++++- en/agc-remoteconfig.md | 23 ++++++++++++++++++++--- en/hms-account.md | 8 +++++++- en/hms-ads.md | 5 +++++ en/hms-analytics.md | 7 ++++++- en/hms-game.md | 26 ++++++++++++++++++++++++-- en/hms-iap.md | 7 ++++++- en/hms-location.md | 8 ++++++-- en/hms-push.md | 8 +++++++- en/hw-gobe.md | 4 ++++ en/hw-mmsdk.md | 7 ++++++- zh/SUMMARY.md | 8 ++------ zh/about-cocos-service.md | 26 ++++++++++++-------------- zh/agc-apms.md | 3 +++ zh/agc-function.md | 5 +++-- zh/agc-remoteconfig.md | 24 +++++++++++++++++++++--- zh/hms-account.md | 8 +++++++- zh/hms-ads.md | 8 +++++++- zh/hms-analytics.md | 8 +++++++- zh/hms-game.md | 26 +++++++++++++++++++++++++- zh/hms-iap.md | 7 ++++++- zh/hms-location.md | 8 ++++++-- zh/hms-push.md | 6 +++++- zh/hw-gobe.md | 7 ++++++- zh/hw-mmsdk.md | 7 ++++++- 28 files changed, 232 insertions(+), 71 deletions(-) diff --git a/en/SUMMARY.md b/en/SUMMARY.md index 56042d5..4c9244d 100644 --- a/en/SUMMARY.md +++ b/en/SUMMARY.md @@ -2,8 +2,6 @@ - [User Manual]() - [About Billing](about-billing.md) - [List of Services]() - - [Agora RTC](agora.md) - - [Yidun (NetEase)](neteaseyidun.md) - [Location Kit(HMS Core)](hms-location.md) - [Analytics Kit(HMS Core)](hms-analytics.md) - [Ads Kit(HMS Core)](hms-ads.md) @@ -16,6 +14,6 @@ - [Remote Configuration(AGC)](agc-remoteconfig.md) - [Online Multiplayer Battles (AppGallery Connect))](hw-gobe.md) - [Game Multimedia (AppGallery Connect)](hw-mmsdk.md) - - [Cocos SDKHub](sdkhub.md) - - [Google Play](sdkhub-plugins/google-play.md) - [Vungle](vunglead.md) + - [Taobao Avatar SDK](taobaoavatar.md) + diff --git a/en/about-cocos-service.md b/en/about-cocos-service.md index 9254ca3..3f26811 100644 --- a/en/about-cocos-service.md +++ b/en/about-cocos-service.md @@ -6,39 +6,34 @@ Cocos Creator provides a **Service** panel in the **Menu bar -> Panel**, and dev The **Service** Panel currently supports the integration of third-party services including the following: - - [Vungle ](vunglead.md) - - - [Yidun (NetEase)](neteaseyidun.md) - - - [Cocos SDKHub](sdkhub.md) - [Location Kit (HMS Core)](hms-location.md) - [Analytics Kit (HMS Core)](hms-analytics.md) - - [APM (AppGallery Connect)](agc-apm.md) + - [HUAWEI Account Kit(HMS Core)](hms-account.md) - - [Auth Service (AppGallery Connect)](agc-auth.md) + - [Push Kit(HMS Core)](hms-push.md) - - [Crash (AppGallery Connect)](agc-crash.md) - - - [Remote Configuration (AppGallery Connect)](agc-remote.md) + - [In-App Purchases(HMS Core)](hms-iap.md) - - [App Messaging (AppGallery Connect)](agc-appmessaging.md) + - [Game Service(HMS Core)](hms-game.md) - - [App Linking (AppGallery Connect)](agc-applinking.md) + - [APM (AppGallery Connect)](agc-apms.md) - - [Cloud DB (AppGallery Connect)](agc-clouddb.md) - - - [Cloud Storage (AppGallery Connect)](agc-cloudstorage.md) + - [Ads Kit(HMS Core)](hms-ads.md) - - [Cloud Functions (AppGallery Connect)](agc-cloudfunc.md) + - [Cloud Functions(AppGallery Connect)](agc-function.md) + + - [Remote Configuration(AppGallery Connect)](agc-remoteconfig.md) - [Online Multiplayer Battles (AppGallery Connect))](hw-gobe.md) - + - [Game Multimedia (AppGallery Connect)](hw-mmsdk.md) + + - [Vungle ](vunglead.md) - - [Agora RTC](agora.md) + - [Taobao Avatar SDK](taobaoavatar.md) ## Usage diff --git a/en/agc-apms.md b/en/agc-apms.md index 7eb0975..a651edb 100644 --- a/en/agc-apms.md +++ b/en/agc-apms.md @@ -12,7 +12,10 @@ ### Version Update Description (Cocos Creator 2.x) -- Latest Version: v0.5.4_1.5.2.300 +- Latest Version:[3.x] 2.1.5_1.6.2.300 + - Improve internal implementation + +- v0.5.4_1.5.2.300 - Add support for Game SDK. diff --git a/en/agc-function.md b/en/agc-function.md index 2386331..4e52a8d 100644 --- a/en/agc-function.md +++ b/en/agc-function.md @@ -34,7 +34,12 @@ Cloud Functions lets you run function code to respond to specific events, such a ### Version Update Description -- Latest Version:[3.X]2.1.3_1.9.1.300 +- Latest Version:[3.X]2.3.1_1.9.1.301 + + - Improve internal implementation + - SDK upgrade to 1.9.1.301 + +- [3.X]2.1.3_1.9.1.300 - Upgrade the sdk version. diff --git a/en/agc-remoteconfig.md b/en/agc-remoteconfig.md index f3f56b8..e37eddc 100644 --- a/en/agc-remoteconfig.md +++ b/en/agc-remoteconfig.md @@ -34,7 +34,12 @@ Releasing new functions to all users at the same time may be risky. Remote Confi ### Version Update Description -- Latest Version: [3.x] 2.2.0_1.9.1300 +- Latest Version:[3.x] 2.3.1_1.9.1.302 + - Improve internal implementation + + - SDK upgrade to 1.9.1.302 + +- Version: [3.x] 2.2.0_1.9.1300 - Update the SDK. @@ -129,7 +134,7 @@ It is recommended to use this method to fetch and apply parameter values from th |Parameter|Description| |-|-| -|intervalSeconds|Interval for fetching data, the unit is seconds, default value is -1 for 12 hours.| +|intervalSeconds|The setting interval cannot be less than 1800 seconds. If the interval is less than 1800 seconds, the system will process it in 1800 seconds.| **Example**: @@ -151,7 +156,7 @@ Developers can also call the `fetch` method to get the `setRemoteConfigListener` |Parameter|Description| |-|-| -|intervalSeconds|Interval for fetching data, the unit is seconds, default value is -1 for 12 hours.| +|intervalSeconds|The setting interval cannot be less than 1800 seconds. If the interval is less than 1800 seconds, the system will process it in 1800 seconds| **Example**: @@ -316,6 +321,18 @@ let value: string = huawei.agc.rc.rcService.getCustomAttributes(); console.log("getCustomAttributes succeed: ", value); ``` +### Set whether to allow the collection of user privacy information + +`setEnableCollectUserPrivacy(enable: boolean): void` + +Set whether to allow the collection of user privacy information, including chip type and HA user attribute information. The default value is true. + +**Example**: + +```JavaScript +huawei.agc.rc.rcService.setEnableCollectUserPrivacy(true); +``` + ## API Reference Please refer to the [Remote Configuration - API Reference](https://service.cocos.com/document/api/modules/huawei.agc.rc.html). diff --git a/en/hms-account.md b/en/hms-account.md index 22b4286..ea0c5a4 100644 --- a/en/hms-account.md +++ b/en/hms-account.md @@ -16,7 +16,13 @@ ### Version Update Description -- Latest Version:[3.X] 1.0.3_6.11.0.300 +- Latest Version:[3.x] 1.1.1_6.12.0.300 + - Improve internal implementation + - Account information does not provide accessToken and account content + + - SDK upgrade to 6.12.0.300 + +- [3.X] 1.0.3_6.11.0.300 - Update the SDK diff --git a/en/hms-ads.md b/en/hms-ads.md index f2cab63..5465d84 100644 --- a/en/hms-ads.md +++ b/en/hms-ads.md @@ -18,6 +18,11 @@ Ads Kit provides the Open Advertising Identifier (OAID) and install referrer cap ### Version Update Description +- Latest Version:[3.x] 1.0.0_13.4.68.300 + - Improve internal implementation + + - SDK upgrade to 13.4.68.300 + - Latest Version:[3.x]0.0.5_6.11.0.301 - Update the SDK and add some functions. diff --git a/en/hms-analytics.md b/en/hms-analytics.md index aea64b8..b4d0822 100644 --- a/en/hms-analytics.md +++ b/en/hms-analytics.md @@ -16,7 +16,12 @@ ### Version Update Description -- Latest Version:[3.x] 2.2.1_6.10.0.303 +- Latest Version:[3.x] 2.3.1_6.12.0.300 + - Improve internal implementation + + - SDK upgrade to 6.12.0.300 + +- [3.x] 2.2.1_6.10.0.303 - Upgrade the SDK version. diff --git a/en/hms-game.md b/en/hms-game.md index 9626791..3306c54 100644 --- a/en/hms-game.md +++ b/en/hms-game.md @@ -12,7 +12,12 @@ Game Service provides the following functions for your game apps, with which you ### Version Update Description -- Latest Version:[3.x] 0.0.4_6.10.0.300 +- Latest Version:[3.x] 1.0.1_6.12.0.300 + - Improve internal implementation + - new PlayersClient. SavePlayerRole interface, abandoned submitAppPlayerInfo interface + - Upgrade the SDK to 6.12.0.300 + +- [3.x] 0.0.4_6.10.0.300 - Android Version:com.huawei.hms:game:6.10.0.300 @@ -243,7 +248,7 @@ this.game.once(huawei.hms.game.API_EVENT_LIST.getAppIdCallback, (result: huawei. this.game.getAppId(); ``` -#### Stores the information about a player in a game, such as the level and region. +#### [deprecated]Stores the information about a player in a game, such as the level and region. `submitAppPlayerInfo (info: { area: string; rank: string; role: string; sociaty: string; }): void;` @@ -260,6 +265,23 @@ this.game.submitAppPlayerInfo({ }); ``` +#### Save the player's character information in the game, such as area uniforms, character names, etc. + +`savePlayerRole (info: { serverId: string; serverName: string; roleId: string; roleName: string; }): void;` + +[References](https://developer.huawei.com/consumer/cn/doc/HMSCore-References/playersclient-0000001050121668#section14448819342) + +示例 + +```TypeScript +this.game.once(huawei.hms.game.API_EVENT_LIST.savePlayerRoleCallback, (result: huawei.hms.game.ApiCbResult) => { + this.consolePanel.log(result); +}); +this.game.savePlayerRole({ + serverId: "123", serverName: "server1", roleId: "321", roleName: "role1" +}); +``` + #### Obtains the statistics of the current player, such as the session duration and rank `getGamePlayerStats (isRealTime: boolean):void` diff --git a/en/hms-iap.md b/en/hms-iap.md index 9bde545..7fef296 100644 --- a/en/hms-iap.md +++ b/en/hms-iap.md @@ -14,7 +14,12 @@ With IAP, you can offer the following types of digital products and content with ### Version Update Description -- Latest Version:[3.x] 0.0.5_6.10.0.300 +- Latest Version:[3.x] 1.0.1_6.13.0.300 + - Improve internal implementation + + - SDK upgrade to 6.13.0.300 + +- [3.x] 0.0.5_6.10.0.300 - Update the SDK diff --git a/en/hms-location.md b/en/hms-location.md index 4a7ba32..107d543 100644 --- a/en/hms-location.md +++ b/en/hms-location.md @@ -24,11 +24,15 @@ If you are interested in a particular location, you can create a geofence called ### Version Update Description -- Latest Version:[3.x]1.0.1_6.12.0.300 +- Latest Version:[3.x]1.0.3_6.12.0.300 + + - Improve internal implementation + +- [3.x]1.0.1_6.12.0.300 - Update to 6.12.0.300 -- Latest Version:[3.x]0.0.5_6.11.0.301 +- [3.x]0.0.5_6.11.0.301 - Update the SDK and add some functions. diff --git a/en/hms-push.md b/en/hms-push.md index ffb99be..1da24dc 100644 --- a/en/hms-push.md +++ b/en/hms-push.md @@ -29,7 +29,13 @@ You can access Push Kit in the following modes: ### Version Update Description -- Latest Version:[3.x] 0.0.5_6.10.0.300 + +- Latest Version:[3.x] 1.1.1_6.12.0.300 + - Improve internal implementation + + - SDK upgrade to 6.12.0.300 + +- [3.x] 0.0.5_6.10.0.300 - Update the SDK diff --git a/en/hw-gobe.md b/en/hw-gobe.md index 7ac3802..1a1ffde 100644 --- a/en/hw-gobe.md +++ b/en/hw-gobe.md @@ -20,6 +20,10 @@ The client integrated with the online multiplayer battle service SDK sends vario ## Version Update +- Current Version: [3.x] 1.0.0_13.8.1.300 + + - Improve internal implementation + - Upgrade the SDK to 13.8.1.300 - Current Version: [3.x] 0.0.2_13.6.2.300 diff --git a/en/hw-mmsdk.md b/en/hw-mmsdk.md index c5bbc6b..a4e8682 100644 --- a/en/hw-mmsdk.md +++ b/en/hw-mmsdk.md @@ -21,7 +21,12 @@ Clients integrated with the Game Multimedia Service SDK input voice information ## Version Update Instructions -- Current version: [3.x] 1.0.7_1.12.1.300 +- Current version:[3.x]1.0.9_1.12.2.300 + + - Improve internal implementation + - Upgrade the SDK to 1.12.2.300 + +- Version: [3.x] 1.0.7_1.12.1.300 - Fixed setting microphone callback error - Version: [3.x] 1.0.6_1.12.1.300 diff --git a/zh/SUMMARY.md b/zh/SUMMARY.md index 9a54cb9..8a2f11e 100644 --- a/zh/SUMMARY.md +++ b/zh/SUMMARY.md @@ -4,10 +4,6 @@ - [服务面板操作指南](user-guide.md) - [计费说明](about-billing.md) - [服务列表]() - - [Taobao Avatar SDK](taobaoavatar.md) - - [声网(Agora RTC)](agora.md) - - [FrontJS](frontjs.md) - - [易盾(网易)](neteaseyidun.md) - [定位服务(HMS Core)](hms-location.md) - [分析服务(HMS Core)](hms-analytics.md) - [广告服务(HMS Core)](hms-ads.md) @@ -20,6 +16,6 @@ - [远程配置(AGC)](agc-remoteconfig.md) - [联机对战(AGC)](hw-gobe.md) - [游戏多媒体(AGC)](hw-mmsdk.md) - - [Cocos SDKHub](sdkhub.md) - - [Google Play](sdkhub-plugins/google-play.md) - [Vungle](vunglead.md) + - [Taobao Avatar SDK](taobaoavatar.md) + diff --git a/zh/about-cocos-service.md b/zh/about-cocos-service.md index e3df5c8..ba66484 100644 --- a/zh/about-cocos-service.md +++ b/zh/about-cocos-service.md @@ -47,19 +47,17 @@ Cocos Service 是集成在 Cocos Creator 内的服务面板,其中提供了一 Cocos Service 目前支持集成以下服务: -- [Vungle](vunglead.md):通过全球最大的独立和隐私友好平台“一键变现”。 -- [声网(Agora RTC)](agora.md):实时音视频。 -- [FrontJS](frontjs.md):帮助游戏开发者快速定位和分析问题所在,改善用户体验,提升业务转化,减少用户流失。 -- [易盾(网易)](neteaseyidun.md):提供游戏包体加固、反外挂一站式服务。 - [定位服务(HMS Core)](hms-location.md):采用 GPS、Wi-Fi、基站等多种混合定位模式进行定位,赋予您的应用程序快速、精准地获取用户位置信息的能力。 - [分析服务(HMS Core)](hms-analytics.md):基于开发者上报的用户行为和属性数据,提供多种分析能力。 -- [性能管理(AppGallery Connect)](agc-apm.md):提供分钟级应用性能监控能力,收集应用性能数据。 -- [认证服务(AppGallery Connect)](agc-auth.md):使应用快速构建安全可靠额用户认证系统。 -- [崩溃服务(AppGallery Connect)](agc-crash.md):零代码快速集成,通过崩溃报告了解应用崩溃情况。 -- [远程配置(AppGallery Connect)](agc-remote.md):应用可在线更改行为和外观,无需下载应用更新。 -- [应用内消息(AppGallery Connect)](agc-appmessaging.md):基于用户使用情境发送上下文相关消息,增强用户粘性。 -- [App Linking(AppGallery Connect)](agc-applinking.md):跨平台深度链接直达应用内内容,推动应用增长。 -- [云数据库(AppGallery Connect)](agc-clouddb.md):安全可信的数据管理服务。 -- [云存储(AppGallery Connect)](agc-cloudstorage.md):跨平台提供高效经济的文件上传下载服务。 -- [云函数(AppGallery Connect)](agc-cloudfunc.md):事件驱动的函数计算平台,保证高可用与伸缩,让开发者便捷运行代码而无需管理服务器。 -- [Cocos SDKHub](sdkhub.md):快速接入原生平台 SDK。 +- [华为帐号服务(HMS Core)](hms-account.md)为您提供了简单、安全的登录授权功能,方便用户快捷登录。 +- [推送服务(HMS Core)](hms-push.md)是华为提供的消息推送平台,建立了从云端到终端的消息推送通道。 +- [应用内支付服务(HMS Core)](hms-iap.md)为App提供便捷的应用内支付体验和简便的接入流程。 +- [游戏服务(HMS Core)](hms-game.md)是华为向您提供的能够快速开发游戏应用的服务。 +- [广告服务(HMS Core)](hms-ads.md)依托华为终端平台与数据能力为您提供流量变现服务,帮助您解决流量变现的难题;同时为广告主提供广告服务,配合华为终端平台向用户提供个性化的营销活动或商业广告。 +- [性能管理(AppGallery Connect)](agc-apms.md):提供分钟级应用性能监控能力,收集应用性能数据。 +- [云函数(AppGallery Connect)](agc-function.md)是一项Serverless计算服务,提供FaaS(Function as a Service)能力 +- [远程配置(AppGallery Connect)](agc-remoteconfig.md)提供在线的配置项管理能力,开发者可以在线更改应用的行为和外观,无需用户下载应用更新。 +- [联机对战(AppGallery Connect)](hw-gobe.md)为多人联机游戏提供了房间管理、玩家匹配、队伍管理、消息通信等功能,具备优质的联网和服务端能力。 +- [游戏多媒体(AppGallery Connect)](hw-mmsdk.md)是华为游戏中心推出的一款快速实现游戏内实时语音对讲和IM聊天(Instant Messaging,即时通讯)功能的服务。 +- [Vungle](vunglead.md):通过全球最大的独立和隐私友好平台“一键变现”。 +- [Taobao Avatar SDK](taobaoavatar.md)开发者可以通过集成SDK,快速拥有虚拟角色的相关能力,使用已有的淘宝人生虚拟角色,用于游戏或软件的开发。 diff --git a/zh/agc-apms.md b/zh/agc-apms.md index e0e2b5d..7015a4a 100644 --- a/zh/agc-apms.md +++ b/zh/agc-apms.md @@ -11,6 +11,9 @@ |支持创建自定义跟踪记录,监控应用在特定场景下的性能|借助性能管理 APM SDK,开发者可以:
1. 创建自定义跟踪记录来监控应用在特定场景,如用户登录或者屏幕加载场景下的性能。
2. 为自定义跟踪记录添加指标(如登录次数)和属性(如登录是否成功)。| ### 版本更新说明(Cocos Creator 2.x) +- 当前版本: [3.X]2.1.5_1.6.2.300 + + - 完善内部实现 - 当前版本:v0.5.4_1.5.2.300 diff --git a/zh/agc-function.md b/zh/agc-function.md index 32c9672..db4bc59 100644 --- a/zh/agc-function.md +++ b/zh/agc-function.md @@ -34,9 +34,10 @@ ### 版本更新说明 -- 当前版本: [3.X]2.1.3_1.9.1.300 +- 当前版本: [3.X]2.3.1_1.9.1.301 - - 升级sdk版本。 + - 完善内部实现 + - SDK 升级到 1.9.1.300 - 0.5.0_1.4.1.300 diff --git a/zh/agc-remoteconfig.md b/zh/agc-remoteconfig.md index 1d34dfc..c3a7cc7 100644 --- a/zh/agc-remoteconfig.md +++ b/zh/agc-remoteconfig.md @@ -34,7 +34,13 @@ ### 版本更新说明 -- 当前版本:[3.x] 2.2.0_1.9.1300 +- 当前版本:[3.x] 2.3.1_1.9.1.302 + + - 完善内部实现 + + - SDK 升级到 1.9.1.302 + +- [3.x] 2.2.0_1.9.1300 - 更新sdk @@ -133,7 +139,7 @@ |参数|说明| |-|-| -|intervalSeconds|获取数据的间隔时间,单位为秒,默认值为 -1,更新周期为 12 小时| +|intervalSeconds|设置间隔时间不能小于1800秒,小于1800秒将按1800秒处理| **示例**: @@ -155,7 +161,7 @@ huawei.agc.rc.rcService.fetchAndApply(interval); |参数|说明| |-|-| -|intervalSeconds|获取数据的间隔时间,单位为秒,默认值为 -1 ,更新周期为 12 小时| +|intervalSeconds|设置间隔时间不能小于1800秒,小于1800秒将按1800秒处理| **示例**: @@ -322,6 +328,18 @@ let value: string = huawei.agc.rc.rcService.getCustomAttributes(); console.log("getCustomAttributes succeed: ", value); ``` +### 设置是否允许收集用户隐私信息 + +`setEnableCollectUserPrivacy(enable: boolean): void` + +设置是否允许收集用户隐私信息,包含芯片类型和HA用户属性信息,默认true。 + +**示例**: + +```JavaScript +huawei.agc.rc.rcService.setEnableCollectUserPrivacy(true); +``` + ## 其他 详细的功能说明,请参考 [远程配置服务 - 指南 ](https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/agc-remoteconfig-introduction-0000001055149778)。 diff --git a/zh/hms-account.md b/zh/hms-account.md index 84edbbf..61822df 100644 --- a/zh/hms-account.md +++ b/zh/hms-account.md @@ -16,7 +16,13 @@ ## 版本更新说明 -- 当前版本[3.X] 1.0.3_6.11.0.300 +- 当前版本:[3.x] 1.1.1_6.12.0.300 + + - 完善内部实现 + - 账号信息不提供account、accessToken内容 + - SDK 升级到 6.12.0.300 + +- [3.X] 1.0.3_6.11.0.300 - 升级sdk版本 diff --git a/zh/hms-ads.md b/zh/hms-ads.md index 7b8f757..4d0484f 100644 --- a/zh/hms-ads.md +++ b/zh/hms-ads.md @@ -18,7 +18,13 @@ ## 版本更新说明 -- 当前版本:[3.x] 0.0.7_13.4.65.300 +- 当前版本:[3.x] 1.0.0_13.4.68.300 + + - 完善内部实现 + + - SDK 升级到 13.4.68.300 + +- [3.x] 0.0.7_13.4.65.300 - 升级sdk版本 diff --git a/zh/hms-analytics.md b/zh/hms-analytics.md index 2eb560e..1bf470c 100644 --- a/zh/hms-analytics.md +++ b/zh/hms-analytics.md @@ -16,7 +16,13 @@ ### 版本更新说明 -- 当前版本:[3.x] 2.2.1_6.10.0.303 +- 当前版本:[3.x] 2.3.1_6.12.0.300 + + - 完善内部实现 + + - SDK 升级到 6.12.0.300 + +- [3.x] 2.2.1_6.10.0.303 - 升级SDK版本。 diff --git a/zh/hms-game.md b/zh/hms-game.md index ee645b1..967bfcd 100644 --- a/zh/hms-game.md +++ b/zh/hms-game.md @@ -12,6 +12,13 @@ ## 版本更新说明 + +- 当前版本:[3.x] 1.0.1_6.12.0.300 + + - 完善内部实现 + - 新增PlayersClient.savePlayerRole接口,废弃submitAppPlayerInfo接口 + - SDK 升级到 6.12.0.300 + - 当前版本:[3.x] 0.0.4_6.10.0.300 - Android版本:com.huawei.hms:game:6.10.0.300 @@ -241,7 +248,7 @@ this.game.once(huawei.hms.game.API_EVENT_LIST.getAppIdCallback, (result: huawei. this.game.getAppId(); ``` -#### 保存玩家在游戏内的信息,如等级、区服等。 +#### [废弃]保存玩家在游戏内的信息,如等级、区服等。 `submitAppPlayerInfo (info: { area: string; rank: string; role: string; sociaty: string; }): void;` @@ -258,6 +265,23 @@ this.game.submitAppPlayerInfo({ }); ``` +#### 保存玩家在游戏内的角色信息,如区服、角色名称等。 + +`savePlayerRole (info: { serverId: string; serverName: string; roleId: string; roleName: string; }): void;` + +[API文档](https://developer.huawei.com/consumer/cn/doc/HMSCore-References/playersclient-0000001050121668#section14448819342) + +示例 + +```TypeScript +this.game.once(huawei.hms.game.API_EVENT_LIST.savePlayerRoleCallback, (result: huawei.hms.game.ApiCbResult) => { + this.consolePanel.log(result); +}); +this.game.savePlayerRole({ + serverId: "123", serverName: "测试等级1", roleId: "321", roleName: "测试角色1" +}); +``` + #### 获取当前玩家的统计信息,如在线时长、在线名次等 `getGamePlayerStats (isRealTime: boolean):void` diff --git a/zh/hms-iap.md b/zh/hms-iap.md index c75d0c1..334de8d 100644 --- a/zh/hms-iap.md +++ b/zh/hms-iap.md @@ -13,8 +13,13 @@ - 订阅型商品:用户购买后在一段时间内允许访问增值功能或内容,周期结束后自动续期购买下一期的服务。例:应用中有时限的高级会员,如视频月度会员。 ### 版本更新说明 +- 当前版本:[3.x] 1.0.1_6.13.0.300 -- 当前版本:[3.x] 0.0.5_6.10.0.300 + - 完善内部实现 + + - SDK 升级到 6.13.0.300 + +- [3.x] 0.0.5_6.10.0.300 - 升级sdk版本 diff --git a/zh/hms-location.md b/zh/hms-location.md index b251d58..9e41a59 100644 --- a/zh/hms-location.md +++ b/zh/hms-location.md @@ -24,11 +24,15 @@ ### 版本更新说明 -- 当前版本:[3.x]1.0.1_6.12.0.300 +- 当前版本:[3.x]1.0.3_6.12.0.300 + + - 完善内部实现 + +- [3.x]1.0.1_6.12.0.300 - 更新到6.12.0.300 -- 当前版本:[3.x]0.0.5_6.11.0.301 +- [3.x]0.0.5_6.11.0.301 - 更新 SDK,新增部分接口。 diff --git a/zh/hms-push.md b/zh/hms-push.md index ba3cb7b..70dcb78 100644 --- a/zh/hms-push.md +++ b/zh/hms-push.md @@ -26,8 +26,12 @@ REST API:推送服务REST API为您提供HTTPS接口,您可以通过HTTPS形 |HarmonyOS(Java)|华为手机和平板|HarmonyOS 2.0及以上|5.0.0及以上| ## 更新说明 +- 当前版本:[3.x] 1.1.1_6.12.0.300 -- 当前版本:[3.x] 0.0.5_6.10.0.300 + - 完善内部实现 + + - SDK 升级到 6.12.0.300 +- [3.x] 0.0.5_6.10.0.300 - 升级SDK版本 diff --git a/zh/hw-gobe.md b/zh/hw-gobe.md index ddcfb6c..148c824 100644 --- a/zh/hw-gobe.md +++ b/zh/hw-gobe.md @@ -21,7 +21,12 @@ ## 版本更新说明 -- 当前版本:[3.x] 0.0.2_13.6.2.300 +- 当前版本:[3.x]1.0.0_13.8.1.300 + + - 完善内部实现 + - SDK 升级到 13.8.1.300 + +- [3.x] 0.0.2_13.6.2.300 - 初始版本 diff --git a/zh/hw-mmsdk.md b/zh/hw-mmsdk.md index 7cbb97f..c99e23c 100644 --- a/zh/hw-mmsdk.md +++ b/zh/hw-mmsdk.md @@ -23,7 +23,12 @@ ## 版本更新说明 -- 当前版本:[3.x] 1.0.7_1.12.1.300 +- 当前版本:[3.x]1.0.9_1.12.2.300 + + - 完善内部实现 + - SDK 升级到 1.12.2.300 + +- [3.x] 1.0.7_1.12.1.300 - 修复设置麦克风回调报错 - [3.x] 1.0.6_1.12.1.300 From 5656a94d43a0a31305d63543ad7b3b752b7c1ac4 Mon Sep 17 00:00:00 2001 From: "yanli.huang" Date: Fri, 26 Jan 2024 17:33:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat=EF=BC=9A=20=E7=89=88=E6=9C=AC=E5=A5=BD?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/agc-apms.md | 2 +- en/agc-function.md | 2 +- en/agc-remoteconfig.md | 2 +- en/hms-account.md | 2 +- en/hms-ads.md | 2 +- en/hms-analytics.md | 2 +- en/hms-game.md | 2 +- en/hms-iap.md | 2 +- en/hms-location.md | 2 +- en/hms-push.md | 2 +- en/hw-mmsdk.md | 2 +- zh/agc-apms.md | 2 +- zh/agc-function.md | 2 +- zh/agc-remoteconfig.md | 2 +- zh/hms-account.md | 2 +- zh/hms-ads.md | 2 +- zh/hms-analytics.md | 2 +- zh/hms-game.md | 2 +- zh/hms-iap.md | 2 +- zh/hms-location.md | 2 +- zh/hms-push.md | 2 +- zh/hw-mmsdk.md | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/en/agc-apms.md b/en/agc-apms.md index a651edb..f3c1da1 100644 --- a/en/agc-apms.md +++ b/en/agc-apms.md @@ -12,7 +12,7 @@ ### Version Update Description (Cocos Creator 2.x) -- Latest Version:[3.x] 2.1.5_1.6.2.300 +- Latest Version:[3.x] 2.1.6_1.6.2.300 - Improve internal implementation - v0.5.4_1.5.2.300 diff --git a/en/agc-function.md b/en/agc-function.md index 4e52a8d..8ffffa9 100644 --- a/en/agc-function.md +++ b/en/agc-function.md @@ -34,7 +34,7 @@ Cloud Functions lets you run function code to respond to specific events, such a ### Version Update Description -- Latest Version:[3.X]2.3.1_1.9.1.301 +- Latest Version:[3.X]2.3.3_1.9.1.301 - Improve internal implementation - SDK upgrade to 1.9.1.301 diff --git a/en/agc-remoteconfig.md b/en/agc-remoteconfig.md index e37eddc..6aa5a35 100644 --- a/en/agc-remoteconfig.md +++ b/en/agc-remoteconfig.md @@ -34,7 +34,7 @@ Releasing new functions to all users at the same time may be risky. Remote Confi ### Version Update Description -- Latest Version:[3.x] 2.3.1_1.9.1.302 +- Latest Version:[3.x] 2.3.3_1.9.1.302 - Improve internal implementation - SDK upgrade to 1.9.1.302 diff --git a/en/hms-account.md b/en/hms-account.md index ea0c5a4..ddb95db 100644 --- a/en/hms-account.md +++ b/en/hms-account.md @@ -16,7 +16,7 @@ ### Version Update Description -- Latest Version:[3.x] 1.1.1_6.12.0.300 +- Latest Version:[3.x] 1.1.2_6.12.0.300 - Improve internal implementation - Account information does not provide accessToken and account content diff --git a/en/hms-ads.md b/en/hms-ads.md index 5465d84..0d5f729 100644 --- a/en/hms-ads.md +++ b/en/hms-ads.md @@ -18,7 +18,7 @@ Ads Kit provides the Open Advertising Identifier (OAID) and install referrer cap ### Version Update Description -- Latest Version:[3.x] 1.0.0_13.4.68.300 +- Latest Version:[3.x] 1.0.2_13.4.68.300 - Improve internal implementation - SDK upgrade to 13.4.68.300 diff --git a/en/hms-analytics.md b/en/hms-analytics.md index b4d0822..19b1ffc 100644 --- a/en/hms-analytics.md +++ b/en/hms-analytics.md @@ -16,7 +16,7 @@ ### Version Update Description -- Latest Version:[3.x] 2.3.1_6.12.0.300 +- Latest Version:[3.x] 2.3.4_6.12.0.300 - Improve internal implementation - SDK upgrade to 6.12.0.300 diff --git a/en/hms-game.md b/en/hms-game.md index 3306c54..c1c960c 100644 --- a/en/hms-game.md +++ b/en/hms-game.md @@ -12,7 +12,7 @@ Game Service provides the following functions for your game apps, with which you ### Version Update Description -- Latest Version:[3.x] 1.0.1_6.12.0.300 +- Latest Version:[3.x] 1.0.2_6.12.0.300 - Improve internal implementation - new PlayersClient. SavePlayerRole interface, abandoned submitAppPlayerInfo interface - Upgrade the SDK to 6.12.0.300 diff --git a/en/hms-iap.md b/en/hms-iap.md index 7fef296..7067ec2 100644 --- a/en/hms-iap.md +++ b/en/hms-iap.md @@ -14,7 +14,7 @@ With IAP, you can offer the following types of digital products and content with ### Version Update Description -- Latest Version:[3.x] 1.0.1_6.13.0.300 +- Latest Version:[3.x] 1.0.3_6.13.0.300 - Improve internal implementation - SDK upgrade to 6.13.0.300 diff --git a/en/hms-location.md b/en/hms-location.md index 107d543..291dddd 100644 --- a/en/hms-location.md +++ b/en/hms-location.md @@ -24,7 +24,7 @@ If you are interested in a particular location, you can create a geofence called ### Version Update Description -- Latest Version:[3.x]1.0.3_6.12.0.300 +- Latest Version:[3.x]1.0.5_6.12.0.300 - Improve internal implementation diff --git a/en/hms-push.md b/en/hms-push.md index 1da24dc..f2ce713 100644 --- a/en/hms-push.md +++ b/en/hms-push.md @@ -30,7 +30,7 @@ You can access Push Kit in the following modes: ### Version Update Description -- Latest Version:[3.x] 1.1.1_6.12.0.300 +- Latest Version:[3.x] 1.1.2_6.12.0.300 - Improve internal implementation - SDK upgrade to 6.12.0.300 diff --git a/en/hw-mmsdk.md b/en/hw-mmsdk.md index a4e8682..08d379c 100644 --- a/en/hw-mmsdk.md +++ b/en/hw-mmsdk.md @@ -21,7 +21,7 @@ Clients integrated with the Game Multimedia Service SDK input voice information ## Version Update Instructions -- Current version:[3.x]1.0.9_1.12.2.300 +- Current version:[3.x]1.0.11_1.12.2.300 - Improve internal implementation - Upgrade the SDK to 1.12.2.300 diff --git a/zh/agc-apms.md b/zh/agc-apms.md index 7015a4a..99237c3 100644 --- a/zh/agc-apms.md +++ b/zh/agc-apms.md @@ -11,7 +11,7 @@ |支持创建自定义跟踪记录,监控应用在特定场景下的性能|借助性能管理 APM SDK,开发者可以:
1. 创建自定义跟踪记录来监控应用在特定场景,如用户登录或者屏幕加载场景下的性能。
2. 为自定义跟踪记录添加指标(如登录次数)和属性(如登录是否成功)。| ### 版本更新说明(Cocos Creator 2.x) -- 当前版本: [3.X]2.1.5_1.6.2.300 +- 当前版本: [3.X]2.1.6_1.6.2.300 - 完善内部实现 diff --git a/zh/agc-function.md b/zh/agc-function.md index db4bc59..e0df64e 100644 --- a/zh/agc-function.md +++ b/zh/agc-function.md @@ -34,7 +34,7 @@ ### 版本更新说明 -- 当前版本: [3.X]2.3.1_1.9.1.301 +- 当前版本: [3.X]2.3.3_1.9.1.301 - 完善内部实现 - SDK 升级到 1.9.1.300 diff --git a/zh/agc-remoteconfig.md b/zh/agc-remoteconfig.md index c3a7cc7..2de9a4d 100644 --- a/zh/agc-remoteconfig.md +++ b/zh/agc-remoteconfig.md @@ -34,7 +34,7 @@ ### 版本更新说明 -- 当前版本:[3.x] 2.3.1_1.9.1.302 +- 当前版本:[3.x] 2.3.3_1.9.1.302 - 完善内部实现 diff --git a/zh/hms-account.md b/zh/hms-account.md index 61822df..408b414 100644 --- a/zh/hms-account.md +++ b/zh/hms-account.md @@ -16,7 +16,7 @@ ## 版本更新说明 -- 当前版本:[3.x] 1.1.1_6.12.0.300 +- 当前版本:[3.x] 1.1.2_6.12.0.300 - 完善内部实现 - 账号信息不提供account、accessToken内容 diff --git a/zh/hms-ads.md b/zh/hms-ads.md index 4d0484f..74063ac 100644 --- a/zh/hms-ads.md +++ b/zh/hms-ads.md @@ -18,7 +18,7 @@ ## 版本更新说明 -- 当前版本:[3.x] 1.0.0_13.4.68.300 +- 当前版本:[3.x] 1.0.2_13.4.68.300 - 完善内部实现 diff --git a/zh/hms-analytics.md b/zh/hms-analytics.md index 1bf470c..da94c04 100644 --- a/zh/hms-analytics.md +++ b/zh/hms-analytics.md @@ -16,7 +16,7 @@ ### 版本更新说明 -- 当前版本:[3.x] 2.3.1_6.12.0.300 +- 当前版本:[3.x] 2.3.4_6.12.0.300 - 完善内部实现 diff --git a/zh/hms-game.md b/zh/hms-game.md index 967bfcd..83b549a 100644 --- a/zh/hms-game.md +++ b/zh/hms-game.md @@ -13,7 +13,7 @@ ## 版本更新说明 -- 当前版本:[3.x] 1.0.1_6.12.0.300 +- 当前版本:[3.x] 1.0.2_6.12.0.300 - 完善内部实现 - 新增PlayersClient.savePlayerRole接口,废弃submitAppPlayerInfo接口 diff --git a/zh/hms-iap.md b/zh/hms-iap.md index 334de8d..b818894 100644 --- a/zh/hms-iap.md +++ b/zh/hms-iap.md @@ -13,7 +13,7 @@ - 订阅型商品:用户购买后在一段时间内允许访问增值功能或内容,周期结束后自动续期购买下一期的服务。例:应用中有时限的高级会员,如视频月度会员。 ### 版本更新说明 -- 当前版本:[3.x] 1.0.1_6.13.0.300 +- 当前版本:[3.x] 1.0.3_6.13.0.300 - 完善内部实现 diff --git a/zh/hms-location.md b/zh/hms-location.md index 9e41a59..9908a7d 100644 --- a/zh/hms-location.md +++ b/zh/hms-location.md @@ -24,7 +24,7 @@ ### 版本更新说明 -- 当前版本:[3.x]1.0.3_6.12.0.300 +- 当前版本:[3.x]1.0.5_6.12.0.300 - 完善内部实现 diff --git a/zh/hms-push.md b/zh/hms-push.md index 70dcb78..20ca2cf 100644 --- a/zh/hms-push.md +++ b/zh/hms-push.md @@ -26,7 +26,7 @@ REST API:推送服务REST API为您提供HTTPS接口,您可以通过HTTPS形 |HarmonyOS(Java)|华为手机和平板|HarmonyOS 2.0及以上|5.0.0及以上| ## 更新说明 -- 当前版本:[3.x] 1.1.1_6.12.0.300 +- 当前版本:[3.x] 1.1.2_6.12.0.300 - 完善内部实现 diff --git a/zh/hw-mmsdk.md b/zh/hw-mmsdk.md index c99e23c..18bc5ea 100644 --- a/zh/hw-mmsdk.md +++ b/zh/hw-mmsdk.md @@ -23,7 +23,7 @@ ## 版本更新说明 -- 当前版本:[3.x]1.0.9_1.12.2.300 +- 当前版本:[3.x]1.0.11_1.12.2.300 - 完善内部实现 - SDK 升级到 1.12.2.300 From 4c398b95cb894c1043f1aced4549427fc19ab162 Mon Sep 17 00:00:00 2001 From: "yanli.huang" Date: Tue, 6 Feb 2024 13:52:23 +0800 Subject: [PATCH 3/3] fit: modify verison number --- en/SUMMARY.md | 1 - en/about-cocos-service.md | 2 -- en/hms-analytics.md | 2 +- en/hw-mmsdk.md | 2 +- zh/SUMMARY.md | 1 - zh/about-cocos-service.md | 1 - zh/hms-analytics.md | 2 +- zh/hw-mmsdk.md | 2 +- 8 files changed, 4 insertions(+), 9 deletions(-) diff --git a/en/SUMMARY.md b/en/SUMMARY.md index 4c9244d..895fcc2 100644 --- a/en/SUMMARY.md +++ b/en/SUMMARY.md @@ -14,6 +14,5 @@ - [Remote Configuration(AGC)](agc-remoteconfig.md) - [Online Multiplayer Battles (AppGallery Connect))](hw-gobe.md) - [Game Multimedia (AppGallery Connect)](hw-mmsdk.md) - - [Vungle](vunglead.md) - [Taobao Avatar SDK](taobaoavatar.md) diff --git a/en/about-cocos-service.md b/en/about-cocos-service.md index 3f26811..daaafc2 100644 --- a/en/about-cocos-service.md +++ b/en/about-cocos-service.md @@ -30,8 +30,6 @@ The **Service** Panel currently supports the integration of third-party services - [Online Multiplayer Battles (AppGallery Connect))](hw-gobe.md) - [Game Multimedia (AppGallery Connect)](hw-mmsdk.md) - - - [Vungle ](vunglead.md) - [Taobao Avatar SDK](taobaoavatar.md) diff --git a/en/hms-analytics.md b/en/hms-analytics.md index 19b1ffc..c73d2a0 100644 --- a/en/hms-analytics.md +++ b/en/hms-analytics.md @@ -16,7 +16,7 @@ ### Version Update Description -- Latest Version:[3.x] 2.3.4_6.12.0.300 +- Latest Version:[3.x] 2.3.5_6.12.0.300 - Improve internal implementation - SDK upgrade to 6.12.0.300 diff --git a/en/hw-mmsdk.md b/en/hw-mmsdk.md index 08d379c..df3142f 100644 --- a/en/hw-mmsdk.md +++ b/en/hw-mmsdk.md @@ -21,7 +21,7 @@ Clients integrated with the Game Multimedia Service SDK input voice information ## Version Update Instructions -- Current version:[3.x]1.0.11_1.12.2.300 +- Current version:[3.x]1.0.12_1.12.2.300 - Improve internal implementation - Upgrade the SDK to 1.12.2.300 diff --git a/zh/SUMMARY.md b/zh/SUMMARY.md index 8a2f11e..0e3dbf5 100644 --- a/zh/SUMMARY.md +++ b/zh/SUMMARY.md @@ -16,6 +16,5 @@ - [远程配置(AGC)](agc-remoteconfig.md) - [联机对战(AGC)](hw-gobe.md) - [游戏多媒体(AGC)](hw-mmsdk.md) - - [Vungle](vunglead.md) - [Taobao Avatar SDK](taobaoavatar.md) diff --git a/zh/about-cocos-service.md b/zh/about-cocos-service.md index ba66484..766411d 100644 --- a/zh/about-cocos-service.md +++ b/zh/about-cocos-service.md @@ -59,5 +59,4 @@ Cocos Service 目前支持集成以下服务: - [远程配置(AppGallery Connect)](agc-remoteconfig.md)提供在线的配置项管理能力,开发者可以在线更改应用的行为和外观,无需用户下载应用更新。 - [联机对战(AppGallery Connect)](hw-gobe.md)为多人联机游戏提供了房间管理、玩家匹配、队伍管理、消息通信等功能,具备优质的联网和服务端能力。 - [游戏多媒体(AppGallery Connect)](hw-mmsdk.md)是华为游戏中心推出的一款快速实现游戏内实时语音对讲和IM聊天(Instant Messaging,即时通讯)功能的服务。 -- [Vungle](vunglead.md):通过全球最大的独立和隐私友好平台“一键变现”。 - [Taobao Avatar SDK](taobaoavatar.md)开发者可以通过集成SDK,快速拥有虚拟角色的相关能力,使用已有的淘宝人生虚拟角色,用于游戏或软件的开发。 diff --git a/zh/hms-analytics.md b/zh/hms-analytics.md index da94c04..667d789 100644 --- a/zh/hms-analytics.md +++ b/zh/hms-analytics.md @@ -16,7 +16,7 @@ ### 版本更新说明 -- 当前版本:[3.x] 2.3.4_6.12.0.300 +- 当前版本:[3.x] 2.3.5_6.12.0.300 - 完善内部实现 diff --git a/zh/hw-mmsdk.md b/zh/hw-mmsdk.md index 18bc5ea..1abfe78 100644 --- a/zh/hw-mmsdk.md +++ b/zh/hw-mmsdk.md @@ -23,7 +23,7 @@ ## 版本更新说明 -- 当前版本:[3.x]1.0.11_1.12.2.300 +- 当前版本:[3.x]1.0.12_1.12.2.300 - 完善内部实现 - SDK 升级到 1.12.2.300