diff --git a/src/vector/index.js b/src/vector/index.js index 9f687eb6..db353c25 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -188,6 +188,12 @@ function loadApp() { return; } } + else if (/Android/.test(navigator.userAgent)) { + if (confirm("Vector works much better on Android as an app. Switch to the app?")) { + window.location = "https://play.google.com/store/apps/details?id=im.vector.alpha"; + return; + } + } console.log("Vector starting at "+window.location); if (validBrowser) {