You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: After the authorization is successful, the OnCompletedListener set by the authenticate method is not normal callback #388
After the account is logged in and the authorization button is clicked, the “Verifying...” dialog box appears. When the dialog box disappears, the logical authorization is completed, but the onCompleted method of the set OnCompletedListener is not called.
scenes to be used:
new BoxSession(activity).authenticate(activity, listener);
If you kill and restart the process at this time and then re-create the BoxSession and call authenticate, then the OnCompleted method of OnCompletedListener will be called back normally.
If you don't kill the process, you can directly re-create the BoxSession and call the authenticate, no response, the Task returned from the authenticate can not make a valid judgment.
Therefore, there is no way to bypass or solve the problem.
在账户登录并点击授权按钮后,此时界面出现“正在验证...”对话框,对话框消失时,逻辑上授权已完成,但设置的OnCompletedListener的onCompleted方法未被调用。
使用场景:
若在此时杀掉并重启进程再重新创建BoxSession并调用authenticate,则此时会正常回调OnCompletedListener的onCompleted方法。
若不杀死进程,就直接重新创建BoxSession并调用authenticate,无任何反应,从authenticate返回的Task也无法做出有效判断。
因此无法绕过也无解决方案。
The text was updated successfully, but these errors were encountered: