I've found plenty of answers on this. The one I'm trying now is:
/(android)/i.test(navigator.userAgent)
But in Chrome on Windows I get true
. I'm trying to detect when my user is on an Android device (to point them to the Play Store listing). Is there any reliable way to achieve this?