Skip to content

Commit

Permalink
feat: update Unity sdk version to 1.3.1; Change Android docs;
Browse files Browse the repository at this point in the history
  • Loading branch information
RoongfLee committed Jan 20, 2022
1 parent 440d581 commit 5ca704e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# ChangeLog

## v1.3.1

Feature

[Android]
* 内嵌支付增加 game_ext 字段
* 内嵌支付、网页支付支持现有 Intent Scheme 跳转三方 App 规则

## v1.3.0

Feature
Expand Down
5 changes: 3 additions & 2 deletions Documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ NSMicrophoneUsageDescription 麦克风,用于内嵌动态
{
"dependencies": {
"com.tds.sdk": "https://github.com/xindong/TAPSDK_UPM.git#1.1.9",
"com.tds.global": "https://github.com/xindong/TDS_GLOBAL_UPM.git#1.3.0"
"com.tds.global": "https://github.com/xindong/TDS_GLOBAL_UPM.git#1.3.1"
}
}
```
Expand Down Expand Up @@ -357,9 +357,10 @@ TDSGlobal.TDSGlobalSDK.PayWithWeb(serverId,roleId,(tdsError)=>{
* @param region 国家/地区。游戏当前商品售卖国家或地区
* @param serverId 服务器ID。所在服务器ID,不能有特殊字符,服务端支付回调会包含该字段,必填
* @param roleId 角色ID。支付角色ID,服务端支付回调会包含该字段,必填
* @param ext 透传参数。服务端支付回调会包含该字段。可用于标记区分充值回调地址,如需使用该功能,请联系平台进行配置。
* @param callback 支付结果回调
*/
TDSGlobal.TDSGlobalSDK.InlinePay(orderId, productId, productName, region, serverid, roleId, (result) => {
TDSGlobal.TDSGlobalSDK.InlinePay(orderId, productId, productName, region, serverid, roleId, ext, (result) => {
// 返回结果
var code = result.code;
var message = result.message;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.tds.global",
"displayName": "TDSGlobal",
"description": "TapTap develop Service Global",
"version": "1.3.0",
"version": "1.3.1",
"unity": "2018.3",
"author": "tds-develop",
"license": "MIT",
Expand Down

0 comments on commit 5ca704e

Please sign in to comment.