Our application integrates a web version of Google maps for devices without Google services. The page displaying maps in the application imports the following JavaScript: ;key=our_key
.
The problem is that in older versions of WebView this script does not work correctly and always returns an error:
Uncaught SyntaxError: Unexpected token ?
Uncaught ReferenceError: google is not defined
It was experimentally found out that this script works correctly in version 106 of WebView and definitely does not work in 76. Who can tell me in what minimum version of Android System WebView Google maps work correctly now?
We don't plan to fix Google maps on old devices, but we want to hide WebView with Google maps for old devices where this script does not work correctly.