App Version Check API
Detect the installed app version from your web app and prompt users to update when needed.
Using this WebViewGold App Version Check API, your website/web app can retrieve the version of the Android app being used by your Android app user. This API is especially helpful if you want to notify users of an older version to update their app. Moreover, you can hide web app sections that require app features supported by a specific app version.
Use JavaScript to this kind of URL to read and alert the app version and app bundle number:
<script> window.location.href = "getappversion://"; alert(versionNumber); alert(bundleNumber); </script>
Alternatively, consider turning
AUTO_INJECT_VARIABLES to true in Config.java to automatically inject this (and other) values into JavaScript without needing to call a URL upfront.