From 8e84942ff74dce683aaff6c117bd44a2e7796416 Mon Sep 17 00:00:00 2001 From: Tobias Hagemann Date: Tue, 20 Aug 2024 14:51:50 +0200 Subject: [PATCH] Updated README --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d7a129..85c7afa 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ let cryptoDecorator = try VaultProviderFactory.createLegacyVaultProvider(from: m ### Box -Modify your app delegate as described in [Box iOS SDK](https://github.com/box/box-ios-sdk). In addition, the following constants must be set once, e.g. in your app delegate: +The following constants must be set once, e.g. in your app delegate: ```swift let clientId = ... // your Box client identifier @@ -99,6 +99,13 @@ You can then use the credential to create a Box provider: let provider = BoxCloudProvider(credential: credential) ``` +Or create a Box provider using a background URLSession: + +```swift +let sessionIdentifier = ... +let provider = BoxCloudProvider.withBackgroundSession(credential: credential, sessionIdentifier: sessionIdentifier) +``` + ### Dropbox Set up the `Info.plist` as described in the [official Dropbox Objective-C SDK](https://github.com/dropbox/dropbox-sdk-obj-c). In addition, the following constants must be set once, e.g. in your app delegate: