Commit Graph

25 Commits

Author SHA1 Message Date
ed6fe668ad update:逻辑更新 2026-05-21 00:37:19 +08:00
eecf54c6a4 update:更新tysdk 默认修改 2026-05-14 11:53:38 +08:00
de3ff3b7a4 feat: 支付验签框架 — 策略模式 + 装饰器重试
- 新增 IPaymentVerifier 接口 (Verify + Consume),渠道无关
- 新增 PaymentVerifierFactory 按 Channel 分发
- 新增 FlexionPaymentVerifier: HTTP 验签 + 线性 backoff 重试
- 新增 DummyPaymentVerifier: 占位验签实现
- 新增 RetryablePaymentVerifier: 装饰器,流程级重试
- TYSdkFacade_Pay: PayResult 增加验签分支,先验签后消费再回调
- TYSdkModel: PaymentInfo 增加 verified 字段
- UnityBridgeFunc: 移除 ConsumeFlexionPurchase(职责收归 Verifier)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 11:25:20 +08:00
f60a1dd0c2 feat: Flexion 先验签后消费支付流程 + playerId 绑定
实现 Flexion 渠道支付验签重构:支付成功后不立即消费,将 purchaseJson/signature/purchaseToken
回调至 Unity,由服务端 SHA1withRSA 验签并校验 developerPayload.playerId 后再调用 consume。
同步更新 SDKManager 接口、UnityBridgeFunc 桥接、TYSdkModel 字段及 ExtraPluginCfgs。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 16:04:29 +08:00
d361d9078b feat: merge rustore test UI and unify SKU format across channels
- Merge VK login/link/check and Review test buttons from dev_rustore
- Unify Rustore/GooglePlay SKU format via ChannelHelpers.normalizeSkuList()
- Fix ChannelConfig runtime sync: Java InitSDK sets channel from ChannelHelpers.CHANNEL
- Fix AndroidMinSdkVersion 25→26 for tuyoosdk compatibility
- Fix Flexion AndroidManifest tools:replace missing fullBackupContent value
- Add [CHANNEL-VERIFY] debug logs for channel verification

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 15:38:21 +08:00
66aa7a931b update:更新flexion 以及sdk 接入 2026-04-29 20:43:16 +08:00
c0b6ccf7ed update:更新sdk 脚本 2026-04-03 21:19:41 +08:00
6866b7fca9 enhance ChangeLinkAccount functionality
- Added LoginTypeToBindType function to map login types to binding types.
- Updated ChangeLinkAccount method to handle account linking and unbinding with appropriate error handling.
- Ensured proper messaging for success and failure cases during account changes.
- Cleaned temporary SNS information after account change attempts.
2026-03-30 22:11:16 +08:00
abe11029cc [M] sync with ft proj 2026-03-02 15:52:30 +08:00
638e6a3327 [M] upgrade Unity 2022.3.62 and fix link parsing
Upgraded Unity editor to 2022.3.62f2c1 with related package updates. Fixed LinkAccoutResult JSON parsing to properly handle bindInfo as dictionary. Added Android namespace configuration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 18:19:30 +08:00
58a29b0335 [M] change sns link function 2025-12-25 15:42:47 +08:00
8cc0a67f03 [M] new call back
[wip]
2025-12-22 16:11:55 +08:00
ecdb09eac2 [U] copy from n3 client 2025-08-16 15:54:49 +08:00
aa03da91a4 [U] ad plugins 2025-02-14 17:40:00 +08:00
7401a30ebf [M] sync with n3 2024-11-28 14:00:57 +08:00
d449fee825 [F] Apple link callback 2024-08-26 14:42:08 +08:00
728af3cfd7 [F] Link [A] signout 2024-08-24 19:23:39 +08:00
da367097c8 [M] sync from n3 2024-08-22 18:04:52 +08:00
1a0af9d725 [M] all functional 2024-08-16 00:56:24 +08:00
c355784122 [M] login & logout & payment
- login by token
- save account info
- logout remove accout info
- iOS SKU list parser
- iOS Pay
2024-08-13 23:53:35 +08:00
LYP
2419cfb216 商品列表处理 2024-08-09 11:24:07 +08:00
LYP
6a25f92182 中间版本 2024-08-08 19:42:52 +08:00
LYP
4e608afc37 android 登录 + 支付 + GA 通了 2024-08-06 17:54:36 +08:00
LYP
de5c781bd7 sdk 代码合并 2024-08-06 16:22:00 +08:00
b77fd9f498 [WIP] firebase init Error 2024-08-02 20:09:59 +08:00