ARway Unity SDK allows you to create and customize deep links for your augmented reality (AR) experiences. Deep links can be used to direct users to specific content within your AR app. By default, the ARway SDK uses the URL 'anchor.arway.ai', but you may want to use your custom domain URL for branding purposes.
By default, the Sample App can scan QR codes with the custom domain you have set, but there are a few changes that should be made for Android and iOS for deep linking.
Update the DomainHandler in the Dashboard-SDK scene
Open the Dashboard-SDK scene located at /Assets/ARway/ViewerMode/0_Scene.
Select the DomainHandler object.
In the Inspector window, edit the DOMAIN under the Domain Handler (Script) to your custom domain URL.
Editing the DOMAIN in the Dashboard-SDK scene
Modify the SDK Files
To change the URL from 'anchor.arway.ai' to your custom domain URL 'www.yourdomain.com', you need to modify the following files in the ARway Unity SDK:
Android: AndroidManifest.xml
iOS: entitlements fille
iOS
Modifying the entitlements file
Open your project in Xcode.
Choose your target, in this case it is Unity-iPhone.
Access the "Capabilities" tab.
Scroll down to "Associated Domains".
Click the Add button (+) to insert a service-domain placeholder.
Add your domain link, like applinks:www.yourdomain.com.
Save your changes and build your app.
For more information view this link from the Apple docs: