element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.39k stars 732 forks source link

Document what/where/how/lifetime of stored data by the app and by the Matrix SDK #4098

Open bmarty opened 3 years ago

bmarty commented 3 years ago

Problematic

We are often asked about what the app is storing, where (in memory, on disk, server side, ...), in which format (clear, encrypted, ...), and with which lifetime (user session i.e. until signout, cache session i.e. until clear cache is performed, application session i.e. until the app is finished or killed, Activity lifetime i.e. until the Activity is destroyed), and this are legitimate questions for a secured communication app.

We should clarify this in a documentation, attached to the project, and kept up to date with all the changes we may do in the codebase.

Especially the doc should clarify the policy about those elements:

Also the document could include some information about the disk folder hierarchy for file storage.

Definition of done

A doc is added to https://github.com/vector-im/element-android/tree/develop/docs

bmarty commented 3 years ago

Some elements can be found in the description of #2512