67 Commits

Author SHA1 Message Date
c0509da0fc fix: correct Java types and remove unused import in SDKManager
- Replace Kotlin-style bool/string with Java boolean/String
- Remove unused kotlinx.serialization.json.Json import

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 22:02:36 +08:00
c9fe482c8c update tuyoosdk, set DNS IPs 2026-06-03 15:57:50 +08:00
92d04aba61 sync from ty 2026-06-03 14:54:56 +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
9f5151c54c [U] sync with ft 2026-03-27 12:29:31 +08:00
3f78e8464a [U] sync with tf 2026-03-23 11:02:05 +08:00
1d7d224682 [U] enable AppsFlyer SDK swizzling on iOS
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:19:03 +08:00
7d479b7758 [U] ty sdk 2026-03-10 16:07:49 +08:00
abe11029cc [M] sync with ft proj 2026-03-02 15:52:30 +08:00
086d862cba [M] add GUM Dependencies 2026-01-20 23:55:45 +08:00
4da1b3290e [M] update tysdk aar 2026-01-20 14:18:33 +08:00
c81301e476 refactor(tysdk): 优化账户信息处理逻辑
- 移除重复的账户信息初始化代码,统一处理流程
- 简化 JSON 数据解析方式,直接转换类型避免方法调用
- 重构登录数据处理逻辑,移除不必要的条件判断
- 优化账户信息更新机制,直接更新 token 字段
- 删除过时的账户信息验证和创建逻辑
2026-01-07 20:13:25 +08:00
4d12bdf0ec refactor(tysdk): 重构SDK登录和绑定功能
- 重构iOS构建参数,添加调试构建选项
- 实现iOS调试构建菜单项,支持开发选项和调试连接
- 修复Android SDKManager中的snsInfo临时存储逻辑
- 添加清理临时snsInfo的方法实现
- 在iOS接口中添加登录类型存储和sns信息重新登录功能
- 重构账号绑定逻辑,统一处理不同平台的绑定流程
- 添加绑定失败时的登出回调处理
- 更新UnityBridgeFunc中的原生接口绑定
- 在测试脚本中添加初始化时清理临时sns信息
2026-01-07 15:08:04 +08:00
cb2ff22a89 fix(sdk): improve SNS login binding and account handling
- Remove premature null check in LoginBySns to allow login flow
- Add debug logging for SNS login failures
- Handle code==-1 case when binding accounts with same userId

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-06 11:25:05 +08:00
b0cce65e54 fix(sdk): 修复登录数据处理和账户绑定功能
- 修改Android端登录数据结构,统一使用loginData字段
- 添加JSON异常处理机制,避免解析错误导致崩溃
- 修复Unity端登录数据解析路径,从respObj.result改为loginData
- 在账户绑定成功后更新账户信息,添加渠道标识
- 优化链接账户回调处理,支持登录数据的完整传递
- 修复代码格式和字符串拼接问题
2025-12-31 17:15:25 +08:00
053bdf70a2 [M] fix SNS login and JSON syntax errors
- Fix extra closing brace in JSON error callbacks (SDKManager.java)
- Enable SNS type return from UnityLoginBySnsInfo for proper account channel tracking
- Update LoginBySns to use returned SNS type for linked account management
- Re-enable editor mode login for testing

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 20:24:13 +08:00
aa5ce1ff5a [U] add PlayFab SDK and SNS login improvements
- Add PlayFabSDK as local package dependency
- Add PlayFabTool.cs for PlayFab API integration
- Implement LoginBySns method in TYSdkFacade
- Add Android SNS login support in SDKManager and UnityBridgeFunc
- Add Build Android With Debug menu option
- Improve exception handling and timeout management

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-29 16:12:17 +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
82381173d8 [M] 17 localization 2025-08-27 11:49:50 +08:00
30d4d40c9c [U] cert 2025-08-26 22:22:26 +08:00
821b5622bf [U] tuyoosdk 2025-08-26 16:53:15 +08:00
ecdb09eac2 [U] copy from n3 client 2025-08-16 15:54:49 +08:00
22eba4dbc2 [U] Upgrade to Unity 2022.3.53f1 2025-03-05 11:27:38 +08:00
aa03da91a4 [U] ad plugins 2025-02-14 17:40:00 +08:00
c576351bca [A] facebook share 2025-01-17 16:15:48 +08:00
90e54158f1 [M] deep link 2025-01-15 18:53:22 +08:00
0332758335 [U] Sync n3 2025-01-09 17:25:30 +08:00
81b61f9d15 [F] add life cycle method for iOS 2024-12-31 11:27:07 +08:00
43ef7b0f95 [A] Firebase 2024-12-16 11:14:27 +08:00
4d0ab92a9a [A] Android firebase 2024-12-10 12:15:59 +08:00
05331e6286 [M] sync n3 2024-12-09 16:54:19 +08:00
7401a30ebf [M] sync with n3 2024-11-28 14:00:57 +08:00
5f81ddafed [U] update rider plugins 2024-11-28 13:55:53 +08:00
55d2216e2c [F] Android GA International 2024-09-02 10:28:07 +08:00
959d7d2cce [M] sync from n3-world 2024-08-30 10:12:40 +08:00
d449fee825 [F] Apple link callback 2024-08-26 14:42:08 +08:00
e6349d1501 [M] add push entitlements 2024-08-26 12:49:26 +08:00
bb7a450464 [M] signout default lang EN 2024-08-26 12:40:23 +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
6332ff9055 [M] MAX SDK callback Test 2024-08-09 18:35:08 +08:00
LYP
c5f9a0e84b 错误修改 2024-08-09 11:52:53 +08:00
LYP
8706239fbd Merge branch 'main' of 192.168.9.102:tysdk-intergration
# Conflicts:
#	sdk-intergration/Assets/Scripts/SDKTest.cs
#	sdk-intergration/Packages/tysdk/Runtime/TYSdkFacade_Pay.cs
#	sdk-intergration/Packages/tysdk/Runtime/TYSdkModel.cs
2024-08-09 11:48:57 +08:00
LYP
2419cfb216 商品列表处理 2024-08-09 11:24:07 +08:00
223414cf81 [M] AF ad Rvenenue , max Ad 2024-08-08 20:53:34 +08:00
LYP
6a25f92182 中间版本 2024-08-08 19:42:52 +08:00