KingOrmon Posted August 3, 2020 Posted August 3, 2020 Hi, I would like store latitude and longitude from GPS mobile. I need to store when web app is in background too. And when mobile is screen locked any ideas ? Quote
Mehmet Emin Posted August 3, 2020 Posted August 3, 2020 4 hours ago, KingOrmon said: I need to store when web app is in background too. And when mobile is screen locked Unfortunately the short answer is no, its not available. Even if you use service workers and trigger some events on the client with server push messages you cannot get it. The browser window should be active in order for navigator.geolocation.getCurrentPosition to work. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.