-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import/Export encryption and progress notification #317
base: master
Are you sure you want to change the base?
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.