Commit Graph

29 Commits

Author SHA1 Message Date
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
7d479b7758 [U] ty sdk 2026-03-10 16:07:49 +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
0332758335 [U] Sync n3 2025-01-09 17:25:30 +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
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
e058996e29 [M] move Applovin.Max & Appsflyer to Assets 2024-08-08 17:54:20 +08:00
4343d67794 [A] Add Applovin Max SDK 2024-08-08 13:10:29 +08:00
LYP
69fee08c61 af 兼容處理 2024-08-07 17:00:55 +08:00
90d63db9e6 [A] appsflyer, SDK facade init method 2024-08-07 00:28:22 +08:00
d2f1da88f1 [M] iOS add UnityKnowNew pay method 2024-08-06 20:36:33 +08:00
LYP
de5c781bd7 sdk 代码合并 2024-08-06 16:22:00 +08:00
dd43d9db26 [F] iOS Google login, client id 2024-08-05 18:20:34 +08:00
badf4d6250 [M] google meta login 2024-08-03 15:11:17 +08:00
b77fd9f498 [WIP] firebase init Error 2024-08-02 20:09:59 +08:00