Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix unity sdk download links & del outdate faq #1163

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions docs/sdk/taptap-login/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ import { Conditional } from "/src/docComponents/conditional";
### TapTap 登录报 `java.lang.NoSuchFieldException: CACHE_ELSE_NETWORK` 异常
由于 Android 项目开启了混淆操作,TapSDK 已经做了混淆处理,需要跳过对 TapSDK 的混淆操作。具体请参考 [Android 代码混淆](/sdk/access/quickstart/#android-代码混淆)。针对 Android 原生目前暂不支持开启资源混淆操作,如果项目开启了资源混淆操作请关闭掉,`shrinkResources false`。

### TapTap 登录报 `{"code":36869,"error_description":"Unauthorized."}` 异常
检查 TapSDK 初始化的 Client ID、Client Token 以及 ServerURL 参数赋值是否有误,此外,ServerURL 请**使用 HTTPS 协议**。

### TapTap 登录报 `Chain validation failed` 异常
可以按照以下步骤排查:
1、检查设备是否连接代理并没有正常安装证书;
Expand All @@ -38,21 +35,6 @@ import { Conditional } from "/src/docComponents/conditional";
1、检查 TapSDK 的初始化操作是否在安卓 UI 线程也就是 main 线程中执行;
2、确保 TapSDK 的初始化已经完成,避免在 TapSDK 初始化后紧接着调用 TapTap 登录功能,建议 TapSDK 的初始化前置。

### 单纯 TapTap 用户认证 For Unity 集成报如下异常:
```
Assembly 'Assets/TapTap/Common/Plugins/TapTap.Common.dll' will not be loaded due to errors:
Unable to resolve reference 'LC.Newtonsoft.Json'. Is the assembly missing or incompatible with the current platform?
```
报错原因是因为使用 TapSDK Unity v3.7.1 及更高版本时并没有在项目的 `Packages/manifest.json` 文件中添加 `com.leancloud.storage` 模块导致的,参考[文档](/sdk/taptap-login/guide)添加即可。

### 登录提示: this app is not allowed for this domain

1. 检查开发者后台应用配置中是否开通了 TapTap 登录服务;
2. 检查项目初始化代码中 ClientId、ClientToken、ServerUrl (需要以 `https://` 开头)是否和开发者后台保持一致。


![](https://dc-file.leanticket.cn/VIFonJ9YOJ4SAXb3WdVhMYWlF84xGKkN/CF18E02C-C819-4940-9C9B-60050062EDD0.png)

### 玩家通过 TapTap 登录后,开发者能否获得玩家的手机号?

手机号属于玩家的隐私信息,目前暂不支持开发者获取登录玩家的手机号。
Expand Down
14 changes: 7 additions & 7 deletions docs/tap-download.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ import CodeBlock from '@theme/CodeBlock';

| 模块名称 | 依赖名 | 下载地址 |
| ------ | ------ | ------ |
| 核心模块 | tap-core | https://github.com/taptap/TapCore-Unity/releases |
| 登录 | tap-login | https://github.com/taptap/TapLogin-Unity/releases |
| 合规认证 | tap-compliance | https://github.com/taptap/TapAntiAddiction-Unity/releases |
| 内嵌动态 | tap-moment | https://github.com/taptap/TapMoment-Unity/releases |
| 更新唤起 | tap-update | https://github.com/taptap/TapUpdate-Unity/releases |
| 成就系统 | tap-achievement | https://github.com/taptap/TapAchievement-Unity/releases |
| 正版验证 | tap-license | https://github.com/taptap/TapLicense-Unity/releases |
| 核心模块 | tap-core | https://github.com/taptap/TapSDKCore-Unity/releases |
| 登录 | tap-login | https://github.com/taptap/TapSDKLogin-Unity/releases |
| 合规认证 | tap-compliance | https://github.com/taptap/TapSDKCompliance-Unity/releases |
| 内嵌动态 | tap-moment | https://github.com/taptap/TapSDKMoment-Unity/releases |
| 更新唤起 | tap-update | https://github.com/taptap/TapSDKUpdate-Unity/releases |
| 成就系统 | tap-achievement | https://github.com/taptap/TapSDKAchievement-Unity/releases |
| 正版验证 | tap-license | https://github.com/taptap/TapSDKLicense-Unity/releases |

## 商业变现
TapADN SDK 是由「易玩(上海)网络科技有限公司」开发,向媒体提供丰富的广告资源,依托高效的算法引擎,帮助开发者实现流量变现。<br></br>
Expand Down
Loading