Fix bug in the geolocation service regarding the promise and cache, #commitcomment-4579057