Replies: 1 comment
|
This one is iOS behavior rather than a TREK bug, but we found a real gap on our side while checking it. iOS treats an installed home screen app as its own app with its own location permission, so the Safari grant does not carry over. Please check: Settings > Privacy and Security > Location Services must be on, and below that, Safari Websites (or the entry for the web app if one exists) should be set to While Using, ideally with Precise Location. If the PWA never shows a prompt at all, a denial was probably recorded earlier: remove the app from the home screen, then go to Settings > Safari > Advanced > Website Data and delete the entry for your TREK domain, re-add the app and tap the location button again, the prompt should now appear. Some iOS 17 builds also had a WebKit bug where web apps never prompted, an iOS update fixes that. Our gap: when locating failed, TREK showed the error only as a hover tooltip, which you can never see on a phone. Since 4.1.2 the location button raises a clear message instead, including a hint about the device's location settings when access is blocked. Closing this as answered, feel free to reopen if the steps above do not get the prompt back. |
Uh oh!
There was an error while loading. Please reload this page.
I'm having difficulty accessing my location when clicking on the location button when on a map.
It works when I am just using it through Safari, but when I use the PWA I am unable to access my location. Any help would be appreciated. I have location services on for safari and I have tried setting up the PWA again after confirming the location works in regular Safari.
All reactions