Mozilla/5.0 (Windows NT 10.0 Win64 圆4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/.100 Robert, Mozilla/5.0 (Linux Android 6.0.1 SM-N9005 Build/M4B30X wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/.98 Mobile Safari/537.36Ĭhanging the user agent of the Webview did not help:ĭalvik/2.1.0 (Linux U Android 6.0.1 SM-N9005 Build/M4B30X) Redirects to a blank page titled Authorization completed and stuck thereĪndroid Webview (Android 6.0.1, SM-N9005) It should redirect to the original website that I want to annotate with bookmarklet active and logged in Actual behaviour Android Webview in an Android app (Android 6.0.1, SM-N9005).In Android Chrome browser and other browsers which are all successfully working with the bookmarklet, what happens is that when I click on login, a new tab will popup and when I finish login this window will close and return to the former window with the bookmarklet active. It seems it fails to go back to the original url (here: ). ![]() The title of the blank webpage after login is: ![]() Javascript:(function())() Īnd login with my hypothesis credentials. I tried to investigate what is happening when it redirects to the blank page. After I enter my credentials, it will redirect me to a blank page and will stuck there. ![]() ![]() When I click on login, and because Webview cannot open a new tab or window, it will open the login page in the same "tab" or Webview "window". However, I have to login to do my annotations. When I use Android Webview to browse inside an android app and load the hypothesis bookmarklet, it will succeed in loading the side bar and showing the public annotations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |