Skip to content
Snippets Groups Projects

Adding SFTP as a service to backup/restore

Merged
Bruno Munizrequested to merge
sftp into development
All threads resolved!

Files

@@ -18,6 +18,7 @@ import Voxophone
import Integration
import Permissions
import PushFeature
import SFTPFeature
import CrashService
import ToastFeature
import iCloudFeature
@@ -86,6 +87,7 @@ struct DependencyRegistrator {
/// Restore / Backup
container.register(SFTPService.live)
container.register(iCloudService() as iCloudInterface)
container.register(DropboxService() as DropboxInterface)
container.register(GoogleDriveService() as GoogleDriveInterface)
@@ -159,6 +161,7 @@ struct DependencyRegistrator {
container.register(
RestoreCoordinator(
sftpFactory: SFTPController.init,
successFactory: RestoreSuccessController.init,
chatListFactory: ChatListController.init,
restoreFactory: RestoreController.init(_:_:),
Loading