title: Device detection if is android?
body: <p>I have an meteor app that is deployed for both ios and android device and i want certain code to run on only ios device and not on android. I know that I can detect device using navigator.userAgent but this will only work if i have my app running on browser.</p>
  
  <p><strong>//This works if its a browser</strong></p>
  
  <pre><code>navigator.userAgent.toLowerCase().indexOf("android") &gt; -1;
  </code></pre>
  
  <p>But is there any possible way to detect device if i have created bundle for android using meteor cordova plugin so it works like a native app. </p>