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

使用拦截器onActivityResult回调问题 #859

Closed
lujun525 opened this issue Sep 27, 2020 · 1 comment
Closed

使用拦截器onActivityResult回调问题 #859

lujun525 opened this issue Sep 27, 2020 · 1 comment

Comments

@lujun525
Copy link

lujun525 commented Sep 27, 2020

你好,请问下,我现在A(有requestCode)跳转C(需要登录),写了拦截器跳到B(登录),登录后跳转到C了,点返回回到A,这个流程是没问题,可是A中的requestCode收不到了啊,因为拦截器里拿不到A的context 了啊,拦截器里这样写的,ARouter.getInstance("/path/login").greenChannel().navigation()

@zhi1ong
Copy link
Member

zhi1ong commented Oct 20, 2020

正常的流程是B处理完之后,在拦截器中放行,而不是在拦截器中跳转到C

@zhi1ong zhi1ong closed this as completed Oct 20, 2020
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

2 participants