MixinNetwork/android-app

Key-value tables created in the database

SeniorZhai opened this issue · 2 comments

Mixin database upgrade related data is stored in SharedPreferences and this data is not reliable. Key-value tables should be created in the database to store this data.
Contains the following data:
PREF_ATTACHMENT
PREF_ATTACHMENT_LAST
PREF_ATTACHMENT_OFFSET
PREF_FTS4_UPGRADE
PREF_SYNC_FTS4_OFFSET
PREF_BACKUP

more properties

  • BACKUP_PERIOD
  • BACKUP_LAST_TIME
  • PREF_DUPLICATE_TRANSFER
  • PREF_STRANGER_TRANSFER
  • AUTO_DOWNLOAD_WIFI
  • AUTO_DOWNLOAD_MOBILE
  • AUTO_DOWNLOAD_ROAMING

Need to support the addition of DEVICE_ID