title: Geolocation not working on mobile browsers
body: <p>I have just finished my project that uses Google Maps API. when I tested on my mobile it failed. I started debugging and it seems to be having problems getting the current position</p>
  
  <pre><code>navigator.geolocation.getCurrentPosition(function(position){ ... }, function(error){ ... }):
  </code></pre>
  
  <p>This line fails on Chrome and default browser, the callback function is never called (and I don't know how to see what error is thrown).</p>
  
  <p>So I started using the Chrome emulator ( <a href="https://stackoverflow.com/questions/22509865/no-overrides-page-in-chrome-dev-tools-settings">Refer to this</a> ) and no error is being triggered. Everything works well.</p>
  
  <p>And I am passing a second function to handle errors to getCurrentPosition and nothing is displayed... what would be the problem?! Do you know what can I do to make it work on my mobile? Any other test I can do? </p>
  
  <ul>
  <li>I tested on different computers and it works</li>
  <li>The settings allow me to share my current position</li>
  </ul>