MixinNetwork / android-app

📱 Android private messenger, crypto wallet and light node to Mixin Network
https://play.google.com/store/apps/details?id=one.mixin.messenger
GNU General Public License v3.0
461 stars 99 forks source link

Key-value tables created in the database #1965

Open SeniorZhai opened 3 years ago

SeniorZhai commented 3 years ago

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

Tougee commented 3 years ago

more properties

SeniorZhai commented 3 years ago

Need to support the addition of DEVICE_ID