victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
456 stars 27 forks source link

Add Location getSatelliteCount #62

Closed Krugergit closed 3 years ago

Krugergit commented 3 years ago

Get numbers of “satellites in view” and “satellites in use”

victordiaz commented 3 years ago

Now we can access the satellites using the following callback.

sensors.location.onSatellitesChange(function (data) {
  console.log(data)
})

The new version is released.under releases. It might take a bit to get available in google play. Feel free to close the issue after you try it.

victordiaz commented 3 years ago

Closing as it was already solved