-
Notifications
You must be signed in to change notification settings - Fork 227
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
[help wanted]登录拦截以及登录后再跳转回具体页面 #76
Labels
Comments
抱歉才看到,我仔细想下再回复你。 |
补充一下对于问题1的log,我将LoginInterceptor修改为直接传递RouterRequest,报错信息如下
错误信息
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
需求:
类似web中登录后跳转到具体页面,在app的某个位置NormalActivity(fragment/activity),点击进入另外一个需要登录才能访问的页面(NeedLoginActivity)。判断发现用户未登录,跳到登录页面(LoginActivity)。登录成功以后希望跳转到NeedLoginActivity,并且带有原始调用NeedLoginActivity时候的bundle requestCode等参数。
思路:
遇到的问题
上述1只是麻烦一点,还可以解决。2的话有点麻烦。
@chenenyu 不知道我上述描述是否清晰,对于这个需求这个思路是否正确,另外就是在拦截器的intercept中是否可以获取到原始go()带有的content/fragment?
谢谢
The text was updated successfully, but these errors were encountered: