Merge pull request #48 from geeksville/master

Add sidebar link to android location
This commit is contained in:
Kevin Hester 2021-05-27 08:52:25 +08:00 committed by GitHub
commit c3e3affbda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -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).

View file

@ -25,6 +25,7 @@ module.exports = {
"Meshtastic Android": [
"software/android/android-installation",
"software/android/android-usage",
"software/android/location-access"
],
},
{