Deep linking support
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.
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()
)
}
}
Last modified 3mo ago