I am developing an electron app (with ReactJS based UI) that needs the GPS location of the tablet. The tablet runs Windows 10 and is equipped with GPS hardware. After googling for a couple of hours, I am unable to find any npm plugin for electron that can fetch the GPS location of the tablet.
Is there a known plugin or API that can accomplish this?
I am also thinking about the Geolocation API in Javascript but currently unable to verify if that works due to the lack of Win 10 tablet with GPS.
Please share your thoughts or experiences on the best way forward.
Thanks in advance.