Links

Deep linking support

Setup

Deep linking is disabled by default. In order to enable it you will need to enable it in Kevin plugin and setup your app deep links for your callback urls. Both in-app payments and account linking support deep links.

1. Setup your callback urls for plugins and enable deep linking

import SwiftUI
import Kevin
@main
struct KevinDemoApp: App {
init() {
// enable deep linking
Kevin.shared.isDeepLinkingEnabled = true
// initialize required plugins with your callback urls
KevinAccountsPlugin.shared.configure(
KevinAccountsConfiguration.Builder(
callbackUrl: URL(string: "https://your.callback.url")!
).build()
)
KevinInAppPaymentsPlugin.shared.configure(
KevinInAppPaymentsConfiguration.Builder(
callbackUrl: URL(string: "https://your.callback.url")!
).build()
)
}
}
You can read more about deep links here.