Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Aug 20, 2024
1 parent 07f540e commit 8e84942
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 8e84942

Please sign in to comment.