I would like to redirect the user to another page when a user went to a third-party website for authentication. I'm using childbrowser to open a webpage within the app context.

有帮助吗?

解决方案

If you are opening child-browser just for authentication, maybe its better to copy a form into your page and post the results into a hidden iFrame.

If you look into the ChildBrowser javascript you can see that there is a On Change method that you can have a callback when the url changes- this might allow you to capture the change in URL.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top