Skip to content

Commit

Permalink
Merge pull request #1179 from taptap/feat_update_init_opts
Browse files Browse the repository at this point in the history
feat: 修改 初始化 参数裂变
  • Loading branch information
HelloVass authored Sep 10, 2024
2 parents f35bcb6 + cc6c339 commit 3f2351b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cn/docs/sdk/access/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,14 @@ TapTapSdk.init(
clientId, // 游戏client id
clientToken, // 游戏client token
region, // 游戏可玩区域: [TapTapRegion.CN]=国内 [TapTapRegion.GLOBAL]=海外
channel, // 分包渠道名称
gameVersion, // 游戏版本号
autoIAPEventEnabled, // 是否自动上报GooglePlay内购支付成功事件 仅 [TapTapRegion.GLOBAL] 生效
overrideBuiltInParameters, // 自定义字段是否能覆盖内置字段
properties, // 自定义属性,启动首个预置事件(device_login)会带上这些属性
oaidCert, // OAID证书, 用于上报 OAID 仅 [TapTapRegion.CN] 生效
enableLog, // 是否开启 log,建议 Debug 开启,Release 关闭,默认关闭 log
preferredLanguage, // 多语言设置,默认为中文
preferredLanguage, // TapSdk首选语言 默认为 TapTapLanguage.AUTO
),
TapTapAchievementOptions(enableToast = true), // 成就初始化配置
TapTapComplianceOptions(showSwitchAccount = true, useAgeRange = true) // 合规认证初始化配置
Expand Down

0 comments on commit 3f2351b

Please sign in to comment.