Import/Export encryption and progress notification#317
Import/Export encryption and progress notification#317Spitfireap wants to merge 8 commits intoSimpleMobileTools:masterfrom
Conversation
|
@tibbi okay, strings are done. |
|
it was @KryptKode doing it, onProgress isnt doing anything now. Guess it was some preparation for showing a progress bar, but we can remove it until it gets actually used. |
|
Okay, I think it's ready. |
|
Okay so I documented myself a bit on Unit in Kotlin, and here is a progress notification system for importing/exporting :) |
...c/main/kotlin/com/simplemobiletools/smsmessenger/helpers/ImportExportProgressNotification.kt
Outdated
Show resolved
Hide resolved
...c/main/kotlin/com/simplemobiletools/smsmessenger/helpers/ImportExportProgressNotification.kt
Outdated
Show resolved
Hide resolved
app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/MessagesImporter.kt
Show resolved
Hide resolved
...c/main/kotlin/com/simplemobiletools/smsmessenger/helpers/ImportExportProgressNotification.kt
Outdated
Show resolved
Hide resolved
|
Heu @tibbi, is it possible to merge, or you don't want the feature? I can update it if you want |
|
I dont know, havent tested it properly yet, will take a look at it soon |
NOTE : This is a work in progress. It is working, but some cleanup is needed, and I need to test it with a great amount of data.
Since exporting messages saves them into a json. It would be easy to grep a bunch of phone number, messages and mms, so I thought of adding this. It is completely based on FairEmail implementation.
To encrypt the backup, simply input a password on the export dialog. Extension will be changed to .json to .sec by default.
To decrypt, put the same password you provided at first.