Closed bafu closed 2 years ago
Thanks!
Seems related to ACCESS_BACKGROUND_LOCATION and https://developer.android.com/about/versions/oreo/background-location-limits
Working on an update that addresses this in a few ways.
New build for testing: https://github.com/guardianproject/proofmode/releases/tag/0.0.14-BETA-1
Location and cellinfo weren't being recorded on Beta 1, so I updated to Beta 2 using the File explorer, but it still didn't work.
Then I uninstalled it and reinstalled Beta 2. The settings indicated that everything was turned on, but then I turned off the icons in the settings page and turned them back on, and got the permission dialog from Android.
I gave them the permissions it asked for, but location or cellinfo still weren't recorded in the CSV. The location columns were missing and the cellinfo columns were blank.
Then I went into the app-settings (long-press on the app icon) and saw that it didn't have media or phone permissions, even though I had given it phone permission earlier.
After I gave it all permissions, it now records location and cellinfo accurately.
Interesting. We'll look into how we are checking for and re-displaying/requesting the correct permissions moving forward.
The main change is we had to ask for BACKGROUND location permission, aka "always on location". Now, this may still cause some issues moving forward, as Android can throttle those requests, so we are looking into other solutions including using Google's FusedLocationProvider (which gets throttled less) and/or a persistent foreground service.
Thanks for the feedback and testing!
Thanks for creating and sharing the new build, Nathan!
ProofMode Beta2 did not add geolocation information into proof in my case.
Steps to Reproduce
Logs
Environments
Thanks for the feedback. We'll do some more targeted testing on Galaxy devices next.
Double checked the location-related settings below
Example CSV: 78e7a932447eadd35bd7234d8795cedd3ece630ee6d849b6141601beb7ae7bde.proof.csv
Steps to Reproduce
Environment