google / google/GoogleSignIn-iOS

OIDExternalUserAgentIOS not run in main tread

未关闭
#532 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Objective-C
星标
750
派生
282
平均合并
2 天 15 小时
30 天内合并 PR
9

描述

**Describe the bug**
`presentationAnchorForWebAuthenticationSession`, -[UIView window] must be used from main thread only

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Tap on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment**
- Device: MacBook Pro 2019
- OS: macOS 15
- Browser: embedded iOS app popup browser

**Additional context**

Image

贡献指南

打开贡献指南

调研方向

首先定位 OIDExternalUserAgentIOS 和 presentationAnchorForWebAuthenticationSession 的实现,然后跟踪访问 UIView.window 的位置。复现嵌入式 iOS 应用的弹出浏览器流程,并验证该访问在主线程上进行且不会出现报告中的警告。

由索引模型根据 Issue 内容生成。

评估

技术栈
objective-c
领域
authentication, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
28/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。