In my Electron app, navigator.geolocation.getCurrentPosition always fails. It seems that Electron (Chromium) no longer provides free geolocation and expects a third-party service with an API key (e.g., Google).
Is there any Electron native alternative to get the user’s location without requiring an external API key? Maybe a native module or OS-level API I can call from the main process?
Thanks, everyone!