question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work on Android WebView

See original GitHub issue
Console About WevView
screen shot 2018-07-30 at 12 03 34 am screen shot 2018-07-30 at 12 04 03 am

Feature detection from datalist-polyfill.js file:

19 // Feature detection - let's break here, if it's even already supported
20 if (
21	'list' in dcmnt.createElement('input') &&
22	Boolean(dcmnt.createElement('datalist') && window.HTMLDataListElement)
23 ) {
24	return false;
25 }

Also tested on WebView-based app on real devices:

  • Google Pixel 2
  • Google Pixel
  • Google Pixel XL
  • Moto G4 Play
  • Moto G3

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mitchhentgescommented, Jul 30, 2018

Hmm, this is interesting 🤔 Ideally, we shouldn’t need to check the UA, we should either detect the feature and do nothing, or not detect the feature and polyfill. It’s strange that it’s not behaving properly.


The caniuse shows just a random numbers for Android column

For what it’s worth:

  • For all Android versions up to 4.4.4 (KitKat), the Android webview version was tied to the OS. Updates for the OS would update the webview
  • For Android versions 5.0+, the Android webview version is now decoupled from the OS version, allowing more frequent updates. So, whenever there’s a Chrome desktop release, there’s an associated Chrome for Android release as well (so, the “67” shown on caniuse is referring to the Chrome version)

reference

Although WebView has been based on Chromium since Android 4.4, the Chromium layer is now updatable from Google Play.

0reactions
vpodkcommented, Sep 28, 2018

@mfranzke, I did not report any issue to Google’s bug tracking system, but I found this one: https://bugs.chromium.org/p/chromium/issues/detail?id=242455

screen shot 2018-09-27 at 10 54 58 pm
Read more comments on GitHub >

github_iconTop Results From Across the Web

Here's how to fix those mysterious Android WebView crashes
To use WatfordHert's method, go to the main Android Settings menu, then tap "Apps & Notifications" (just "Applications" on some phones). Find ...
Read more >
Android WebView not loading URL - Stack Overflow
The simplest solution is to go to your XML layout containing your webview. Change your android:layout_width and android: ...
Read more >
Fix: Chrome and Android System Webview is not getting ...
Open the Google play store app. In the search bar and search for the Android System Webview app. Search Android System WebView result ......
Read more >
Android 8.0 Known Issue: WebView issue on work profile
Android devices with work profiles running Android Oreo (Android 8.0) may be affected by the following known issue. Fully managed devices remain unaffected....
Read more >
How to fix Android System WebView won't update issue?
Fix #3: Clear the Android System Webview Cache And Data. · Open Settings app. · Tap Apps. · Tap the Filter button and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found