Mobile browser sensor support for navigation apps
Check whether your phone's browser exposes location, compass and motion data, then find out if a missing sensor is a permission, browser or device issue.
A navigation app may show your location but point the direction arrow the wrong way, or it may not respond when you tilt your phone. The cause could be a permission, a browser limitation, a setting on the phone or an unavailable sensor.
Test what your current browser can access with the Sensors Test. It checks motion, gyroscope, compass and location data on the device you are using, so you can narrow down the problem before changing your navigation app.
Check your phone's browser sensors
- Open the Sensors Test in the same mobile browser you use for the navigation app, if the app runs in a browser.
- Allow the page to use location or motion data if your browser asks. If no prompt appears, check the site's permissions in the browser settings.
- Keep the phone still on a level surface, then look at the compass and motion readings. Rotate the phone slowly and see whether the readings change.
- Pick up the phone and tilt it gently. Check whether motion or gyroscope values respond. If location is available, compare it with your known position outdoors.
Test one sensor at a time. A phone held flat is easier to evaluate for compass direction, while gentle movement helps you check motion. Do not rely on a single reading if you are indoors, near metal or beside a large electronic device.
What the result means
Location appears, but compass direction does not
The browser can provide a position, but that does not mean it can provide heading. Location is usually estimated using a mix of available sources, which can include satellite signals, nearby Wi-Fi networks and cellular information. Compass direction depends on a magnetic sensor and browser support for exposing its readings. Check the phone's compass in another app and test away from metal objects before deciding the sensor has failed.
Motion readings change when you move the phone
The browser is receiving motion data. A navigation app that does not respond may lack permission, may not support the browser's sensor APIs, or may be using a different feature than the test. A browser test cannot confirm how a separate app handles the same sensor.
Location is missing or permission is denied
The browser may not have permission for this site, or the phone's location service may be off. A missing location result does not prove that the phone has no GPS. Check both the browser's site permission and the phone's location settings.
No motion or compass readings appear
The browser may not expose that sensor, the site may not have permission, or the phone may not include the relevant hardware. Some mobile browsers require a tap or a specific permission before providing motion data. If the test offers no readings after permissions are checked, try a different supported browser and compare results.
How to fix missing browser sensor access
- Turn on the phone's location service. On Android, open Settings › Location. On iPhone, open Settings › Privacy & Security › Location Services. The exact wording can vary by phone and system version.
- Allow location for the browser and site. On Android, check Settings › Location › App location permissions and allow location for your browser. In Chrome, also check ⋮ › Settings › Site settings › Location and make sure the site is not blocked. On iPhone, check Settings › Privacy & Security › Location Services › Safari Websites if you use Safari, then review the website permission prompt when it appears.
- Allow motion access in the browser. On iPhone, look in Settings › Apps › Safari for Motion & Orientation Access if that option is available, and turn it on. Some versions of iOS show motion permission as a prompt inside Safari instead. On Android, check the browser's site settings for motion or sensor permissions if the browser provides them.
- Reload the page after changing permissions. Close and reopen the test page. A permission change may not affect a page that was already open.
- Try the phone outdoors. Location can be slow or imprecise indoors, especially where satellite signals are weak. For a compass check, move away from magnetic cases, speakers, vehicle interiors and other metal objects.
- Update or switch browsers. Sensor support differs between browsers and operating systems. Update your current browser, then test in another browser available on your phone. If one works and the other does not, the difference is likely browser support or configuration rather than a failed sensor.
Why a browser test may differ from your navigation app
A browser does not get unrestricted access to every phone sensor. The browser and operating system decide which data a website can request, and permissions may be separate for location and motion. A native navigation app can use different system services from a web page, while an app opened inside another app's built-in browser may face additional restrictions.
Also, a compass reading can be noisy even when the sensor works. Nearby metal and magnetic accessories can distort direction, and some phones need to be moved in a figure-eight pattern to recalibrate their compass. If the browser test shows changing readings but your navigation app still points the wrong way, check that app's own permissions and compass calibration instructions.
The Sensors Test runs on your phone in the browser. Location and sensor readings are used to show the test results on your device.
