victordiaz / PHONK

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

Add Location getSatelliteCount #62

Closed Krugergit closed 4 years ago

Krugergit commented 4 years ago

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

victordiaz commented 4 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 4 years ago

Closing as it was already solved