From 5eda2ce9b315946ea31fa99aac2c7d216d3e85f8 Mon Sep 17 00:00:00 2001 From: zhaoyang Date: Tue, 12 Nov 2024 14:26:19 +0800 Subject: [PATCH] fix: add json dependency docs --- cn/docs/sdk/anti-addiction/guide.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cn/docs/sdk/anti-addiction/guide.mdx b/cn/docs/sdk/anti-addiction/guide.mdx index 8f235cdaa..ba3145ae5 100644 --- a/cn/docs/sdk/anti-addiction/guide.mdx +++ b/cn/docs/sdk/anti-addiction/guide.mdx @@ -116,6 +116,8 @@ allprojects { implementation 'com.taptap.sdk:tap-compliance:${v4SDKVersions.taptap.android}' // 实名认证模块依赖登录 implementation 'com.taptap.sdk:tap-login:${v4SDKVersions.taptap.android}' + // 需添加json解析对应依赖 + implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1' }` } @@ -138,6 +140,10 @@ allprojects { `dependencies { implementation 'com.taptap.sdk:tap-core:${v4SDKVersions.taptap.android}' implementation 'com.taptap.sdk:tap-compliance:${v4SDKVersions.taptap.android}' + // 实名认证模块依赖登录 + implementation 'com.taptap.sdk:tap-login:${v4SDKVersions.taptap.android}' + // 需添加json解析对应依赖 + implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1' }` }