BasicAirData / GPSLogger

A GPS logger for Android mobile devices
http://www.basicairdata.eu/projects/android/android-gps-logger/
GNU General Public License v3.0
401 stars 126 forks source link

Move the Temp folder into private Cache folder #148

Closed GrazianoCapelli closed 3 years ago

GrazianoCapelli commented 3 years ago

We have to move the Temp folder (now contained into "/GPSLogger" folder) into a private folder, in order to switch to Scoped Storage (we described the problem in #141).

I suggest to use the Cache folder.

Furthermore, we should rethink the manual setup of the EGM file, because the new Temporary folder will be not accessible by the users outside the app.

GrazianoCapelli commented 3 years ago

The Temp folder has been moved into internal app's cache (commit d1d6e85). Contextually I removed the possibility to view the tracks without using the ContentProvider. It is a step forward in the direction of the new API30, that introduced some important behaviour changes on privacy side.

As additional bonus, the users can share and view the tracks without grant the storage permission.

GrazianoCapelli commented 3 years ago

The feature has been implemented and it will included in the next app update. I opened the issue #154 in order to manage the implementation of the manual setup of EGM file. I close this issue.