Skip to content

Commit 8fb521c

Browse files
committed
302 android to play store
1 parent d907758 commit 8fb521c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎src/vector/index.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,12 @@ function loadApp() {
188188
return;
189189
}
190190
}
191+
else if (/Android/.test(navigator.userAgent)) {
192+
if (confirm("Vector works much better on Android as an app. Switch to the app?")) {
193+
window.location = "https://play.google.com/store/apps/details?id=im.vector.alpha";
194+
return;
195+
}
196+
}
191197

192198
console.log("Vector starting at "+window.location);
193199
if (validBrowser) {

0 commit comments

Comments
 (0)