Boilerplate for backup functions called from js.
Details
Details
- Reviewers
marcin kamil - Commits
- rCOMM87effb26dabf: [native] Add native backup functions
Check that the app compiles. Run the functions from js.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/schema/CommCoreModuleSchema.js | ||
---|---|---|
111–117 ↗ | (On Diff #33596) | Most of these arguments are for testing purposes. After we implement networking to the backup service in rust we will be able to return Promise<void> in createNewBackup and delete backupID, encryptedUserKeys, encryptedUserData in restoreBackup. These are required for now, because networking goes through JS. After we implement SQLite integration we will be able to remove userData from createNewBackup as it will be taken from db in native code. |
Comment Actions
I am under impression that this differential should be merged with its child differential, but I will leave it up to you.