WebViewGold Documentation · Android
🇺🇸 English
Get WebViewGold

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.

Too busy? We set up your app for you.

Our team configures, builds & submits your WebViewGold app — done-for-you, fast turnaround, Made in Germany.

Get your app set up →

Build in your browser

No Mac, no IDE: the WebViewGold Cloud Builder configures, builds & uploads your app online.

Discover Cloud Builder →