Deeplinking
Deeplinking
In order to enable acceptance of virtual currency transfers and experience details your app must be configured to handle deeplinks managed by the VenueNext SDK.
You will need to register a URL Scheme in your target’s Info.plist. This value should be provided by VenueNext integration support.
In your AppDelegate, add the following:
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
// ...
let canHandle = VenueNext.shared.canHandle(url: url)
if canHandle {
VenueNext.handle(url: url, presenter: <Controller>, completion: nil)
return canHandle
}
// ...
}
Deep linking to OrderSummary Receipt
<scheme>://vn/order/orderSummary?orderSummaryID=<orderUUID>&productType=<productTypeString>
Deep linking to Experience Receipt
<scheme>://vn/order/experienceItem?experienceID=<id>