mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-26 22:19:46 -08:00
Merge pull request #48 from geeksville/master
Add sidebar link to android location
This commit is contained in:
commit
c3e3affbda
|
@ -13,11 +13,13 @@ Sorry ya'll.
|
|||
|
||||
## Why this app needs "foreground location acccess"
|
||||
|
||||
We need foregraound location access for two reaons:
|
||||
We need foreground location access for two reaons:
|
||||
|
||||
* (Primarily) [This app](https://github.com/meshtastic/Meshtastic-Android) is a navigation app that uses long range LoRa mesh radios for communication in the back country. These radios can run for weeks on a charge and talk to the user's phone over USB or bluetooth to provide the UX. We need foreground location so we can show the user's current position on the same map that is showing positions of the other users.
|
||||
* (Secondarily) Using the old bluetooth BLE API (which we need to use to support older devices), scanning for bluetooth low energy devices requires this permission (because 'beacons' etc... could leak location info to the app). Without this permission (on older phones) the BLE discovery results are always empty.
|
||||
|
||||
If it is helpful, [here](https://meshtastic.org/docs/software/android/android-usage) is a slightly stale set of screenshots/instructions showing how the user uses our application.
|
||||
|
||||
## Why this app needs "background location access"
|
||||
|
||||
When the user has the LoRa device in their pocket occasionally (every 15 minutes ish), the android sister app background service will acquire the GPS position and provide it to the LoRa [firmware](https://github.com/meshtastic/Meshtastic-device). Without background location access this core (the primary feature) of our app would not work (because you wouldn't be able to see the last known position of the hikers/skiers/users in your group).
|
||||
|
|
|
@ -25,6 +25,7 @@ module.exports = {
|
|||
"Meshtastic Android": [
|
||||
"software/android/android-installation",
|
||||
"software/android/android-usage",
|
||||
"software/android/location-access"
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue