webview - How to handle Oauth2 redirect (custom URL scheme) in android -


i want start new activity or execute code when user redirected successful login in android. using webview provide login page, redirect custom url scheme such myapp://something. using intent filter identify redirection. webview displays page not found in android version 4.3 , net: err_unknown_url_scheme in 5. because of url scheme bug or else? (i not using actual redirection yet, have tried anchor tag , javascript window.location)

how can achieve this? without using shouldoverrideurlloading in webview client. want accept custom url scheme since end can not changed.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -