-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix Weibo UniversalLink OAuth #210
base: master
Are you sure you want to change the base?
Conversation
] | ||
let authItems: [String: Any] = [ | ||
"sdkiOS16AppAttachment": app, | ||
"sdkiOS16attachment": ["transferObject": transferObject, "userInfo": userInfo] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个新的 authItems 的兼容性如何?(针对不同 iOS 版本或不同微博版本)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因为 MonkeyKing 之前 Weibo OAuth 是无效的,所以这个 MR 主要是解决这个问题,分享我没测试过。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
新增的 authItems 我仅在 iOS 15、16 下配合最新 Weibo App 验证过,其他 iOS 系统及 Weibo 版本未验证
@nixzhu 已经对代码格式做了优化 |
烦请在仓库根目录执行 |
@nuomi1 done |
Weibo 新 SDK 已经不通过粘贴板方式传递信息,而是通过 Universal Link query 传参,已在 iOS 15、16 验证可用。