Skip to content
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

在发送SSO认证请求时,如果用户将被转换到微博应用中,在转换过程进行时,如果用户把应用转至后台运行,微博 SDK没有发出任何回应。 #24

Closed
graeme opened this issue Jun 23, 2014 · 1 comment

Comments

@graeme
Copy link

graeme commented Jun 23, 2014

您好,

在发送SSO认证请求时,如果用户将被转换到微博应用中,在转换过程进行时,如果用户把应用转至后台运行,微博 SDK没有发出任何回应。这增加了我们在处理用户请求失败问题时的困难。望您给予协助。

在iPad上安装微博HD 应用。接着安装天巡航班应用,点选以“微博登陆”。当微博应用启动以后,假设用户当下马上点返回主页键,用户会返回天巡航班应用界面,而微博应用将处于后台运行状态。由于微博SDK 不会对这中情况发出反馈信息,所以我们只能设想用户的使用过程。在这种情况下,我们希望能接到微博SDK发出信息反馈用户登录失败。

希望在上述问题上得到您的协助。

谢谢。
Graeme

@hongtaozhy
Copy link
Collaborator

你的意思是用户通过Home键的操作回了你的应用,而非通过微博SDK跳转回来,这种情况SDK确实没有处理,目前这个你可以简单的主动处理这个问题
比如在
发送SSO请求时做个标记,application:openURL:将标记为置反,applicationWillEnterForeground时做一个延时判断标记状态确认是否是用户通过其他手段返回了应用
谢谢。

@dannion dannion closed this as completed Jan 30, 2015
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

No branches or pull requests

3 participants