Skip to content

Commit

Permalink
add BTAppContextSwitcher methods to Venmo section of V6_MIGRATION (#1123
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jaxdesmarais authored Oct 31, 2023
1 parent 1ba6fab commit b0db748
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions V6_MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ The possible values for `BTVenmoPaymentMethodUsage` include:

`BTVenmoClient.isiOSAppAvailableForAppSwitch()` has been renamed to `BTVenmoClient.isVenmoAppInstalled()`

The following `BTAppContextSwitcher` methods have been renamed:
* `BTAppContextSwitcher.setReturnURLScheme()` has been renamed to setting the `BTAppContextSwitcher.sharedInstance.returnURLScheme` property
* `BTAppContextSwitcher.handleOpenURL(context:)` has been renamed to `BTAppContextSwitcher.sharedInstance.handleOpenURL(context:)`
* `BTAppContextSwitcher.handleOpenURL(_)` has been renamed to `BTAppContextSwitcher.sharedInstance.handleOpen(_)`

```
let apiClient = BTAPIClient("<TOKENIZATION_KEY_OR_CLIENT_TOKEN>")
let venmoClient = BTVenmoClient(apiClient: apiClient)
Expand Down

0 comments on commit b0db748

Please sign in to comment.