WebView history not working consistently when Chrome is installed

817 views
Skip to first unread message

Christian Kraus

unread,
Jan 18, 2018, 9:07:30 AM1/18/18
to android-webview-dev
WebView's history and assoiciated canGoBack() and goBack() methods do not work properly when Google Chrome version 63.0.3239.111 is installed on the device. Uninstalling or disabling Google Chrome and its webview implementation solves the issue.

This issue ist tested and confirmed on Android versions 6.0.1, 7.1.2 and 8.1.0.

Issue description:
Saving the webview history does not work properly, when Chrome is installed. When you use webView.goBack() to navigate back to the page visited before, sometimes this page is skipped and the webView goes back to the first visited webpage. Other times the history is simply empty resulting in webView.canGoBack() returning false, although you had visited a page just before.

Workaround solution:
Uninstall chrome from device or disable it by using the System Developer Option 'WebView implementation'.

Google, please provide a Chrome update which solves this issue permanently. Our users are very confused by this inconsistent behavior. If this is not the right forum for developer topics, please advise in which forum or Google Group this issue should be posted and tracked.

Thank you very much in advance.

Toby Sargeant

unread,
Jan 18, 2018, 9:57:03 AM1/18/18
to Christian Kraus, android-webview-dev
This is fixed in webview 64 - see: crbug.com/794020

--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview-dev+unsub...@chromium.org.
To post to this group, send email to android-webview-dev@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/b048e0cb-040f-4b20-a317-0cc7ff053ad3%40chromium.org.

Ed Zappulla

unread,
Jul 21, 2018, 8:39:59 AM7/21/18
to android-webview-dev, team...@gmail.com

I'm running Chrome version 67 on Android 7.1.1 and still have this problem.  As per the work around here Chome is the only Webview Implementation listed in the developer options so I can't uninstall it and disabling it doesn't fix the problem.  Any suggestions would be appreciated?



On Thursday, January 18, 2018 at 9:57:03 AM UTC-5, Toby Sargeant wrote:
This is fixed in webview 64 - see: crbug.com/794020
On Thu, Jan 18, 2018 at 2:07 PM, Christian Kraus <team...@gmail.com> wrote:
WebView's history and assoiciated canGoBack() and goBack() methods do not work properly when Google Chrome version 63.0.3239.111 is installed on the device. Uninstalling or disabling Google Chrome and its webview implementation solves the issue.

This issue ist tested and confirmed on Android versions 6.0.1, 7.1.2 and 8.1.0.

Issue description:
Saving the webview history does not work properly, when Chrome is installed. When you use webView.goBack() to navigate back to the page visited before, sometimes this page is skipped and the webView goes back to the first visited webpage. Other times the history is simply empty resulting in webView.canGoBack() returning false, although you had visited a page just before.

Workaround solution:
Uninstall chrome from device or disable it by using the System Developer Option 'WebView implementation'.

Google, please provide a Chrome update which solves this issue permanently. Our users are very confused by this inconsistent behavior. If this is not the right forum for developer topics, please advise in which forum or Google Group this issue should be posted and tracked.

Thank you very much in advance.

--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview-dev+unsub...@chromium.org.
To post to this group, send email to android-w...@chromium.org.
Reply all
Reply to author
Forward
0 new messages