Skip to content
Snippets Groups Projects

Account recovery/backup feature

4 files
+ 17
4
Compare changes
  • Side-by-side
  • Inline

Files

@@ -6,7 +6,11 @@ public struct DropboxService: DropboxInterface {
@@ -6,7 +6,11 @@ public struct DropboxService: DropboxInterface {
private let didAuthorizeSubject = PassthroughSubject<Result<Bool, Error>, Never>()
private let didAuthorizeSubject = PassthroughSubject<Result<Bool, Error>, Never>()
public init() {
public init() {
DropboxClientsManager.setupWithAppKey("ppx0de5f16p9aq2")
let path = Bundle.module.path(forResource: "Dropbox-Keys", ofType: "plist")
 
let url = URL(fileURLWithPath: path!)
 
let keys = try! NSDictionary(contentsOf: url, error: ())
 
 
DropboxClientsManager.setupWithAppKey(keys["DROPBOX_APP_KEY"] as! String)
}
}
public func unlink() {
public func unlink() {
Loading