Skip to content

chore: fix Weibo UniversalLink OAuth#210

Open
iblacksun wants to merge 4 commits intonixzhu:masterfrom
iblacksun:master
Open

chore: fix Weibo UniversalLink OAuth#210
iblacksun wants to merge 4 commits intonixzhu:masterfrom
iblacksun:master

Conversation

@iblacksun
Copy link
Contributor

@iblacksun iblacksun commented Dec 2, 2022

Weibo 新 SDK 已经不通过粘贴板方式传递信息,而是通过 Universal Link query 传参,已在 iOS 15、16 验证可用。

]
let authItems: [String: Any] = [
"sdkiOS16AppAttachment": app,
"sdkiOS16attachment": ["transferObject": transferObject, "userInfo": userInfo]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个新的 authItems 的兼容性如何?(针对不同 iOS 版本或不同微博版本)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

因为 MonkeyKing 之前 Weibo OAuth 是无效的,所以这个 MR 主要是解决这个问题,分享我没测试过。

Copy link
Contributor Author

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 版本未验证

@iblacksun
Copy link
Contributor Author

@nixzhu 已经对代码格式做了优化

@nuomi1
Copy link
Collaborator

nuomi1 commented Dec 8, 2022

烦请在仓库根目录执行 swiftformat . --config .swiftformat 再提交,以便保持代码风格。

@iblacksun
Copy link
Contributor Author

@nuomi1 done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants