breautek commented on issue #295: URL: https://github.com/apache/cordova-plugin-geolocation/issues/295#issuecomment-4198788686
> "If the implementation does not have a cached position available whose age is no greater than the specified maximumAge, then it must acquire a new position." This quite literally does not exist in the W3C spec. Certainly does not appear in the provided link, which is actually section 7.3 -- which simply states: > The maximumAge member indicates that the web application is willing to accept a cached position whose age is no greater than the specified time in milliseconds. And Section 6.3 declares how `watchPosition` should operate. Section 6.6 declares how to acquire a position which, the snippet below shows that if we have a cache position within the `maximumAge`, then to supply the cached position. <img width="750" height="203" alt="Image" src="https://github.com/user-attachments/assets/9ddb1bf1-280c-47bd-8177-6ce858fe190e" /> This is handled by Cordova directly in the JS via https://github.com/apache/cordova-plugin-geolocation/blob/882fbcc008ea86a9f88fe1a9791c0e4e91adf52a/www/geolocation.js#L121 So the API is working as intended. This issue has several AI markers so I would be surprised if you told me that you didn't use AI. Please don't use AI to create issues, especially without doing the minimum work of verifying it's analytical claims. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
