Add support for importing XML exports

This covers importing from Signal and Silence applications export

This closes #519
This commit is contained in:
Ensar Sarajčić 2023-07-12 12:13:59 +02:00
parent 7ca11c8427
commit e825e44f54
3 changed files with 155 additions and 57 deletions

View file

@ -30,6 +30,7 @@ const val EXPORT_SMS = "export_sms"
const val EXPORT_MMS = "export_mms"
const val EXPORT_MIME_TYPE = "application/json"
const val EXPORT_FILE_EXT = ".json"
const val XML_IMPORT_MIME_TYPE = "text/xml"
const val IMPORT_SMS = "import_sms"
const val IMPORT_MMS = "import_mms"
const val WAS_DB_CLEARED = "was_db_cleared_2"