iOS 6 breaks GeoLocation in webapps (apple-mobile-web-app-capable)

前端 未结 11 1815
无人及你
无人及你 2020-12-07 16:21

I have an app that does a simple textbook navigator.geoLocation.watchPosition(...) that works great in iOS 5.x both in Safari and as a web app (using apple-mobile-web-app-ca

11条回答
  •  不思量自难忘°
    2020-12-07 16:44

    I can confirm I get the same problem when running my web app in fullscreen.

    Interestingly, when Safari in Fullscreen asked permission to use my location, the website title was 'web' rather than the title of the website, as in previous versions of iOS.

    Removing the "apple-mobile-web-app-capable" meta tag is fine, and it works, but only if you "Add to Homescreen" again. We have ~7000 daily users who have already added our icon to their homescreen. Getting them to do so again, then potentially again when a fix is implimented isn't great.

提交回复
热议问题