Building from the Source Code
Building the sample app provided in the ARwayKit SDK
Last updated
Building the sample app provided in the ARwayKit SDK
Last updated
To build the sample app directly from the source code (.zip) provided in the release, follow the below steps.
Download the .zip from our GitHub. Please contact us for access.
In this guide, we will be using the following versions of Unity:
Unity: 2022.3.29f1 LST
Include the following platforms in your Unity install:
Android Build Support
OpenJDK
Android SDK & NDK Tools
iOS Build Support
In the instructions below, we will be using the provided .zip source code to create a new app. If you already have an existing Unity app to which you wish to add the package, please refer to the instructions provided in the link below.
From the ARway Creator Portal, go to "For Developers -> Create a New App -> Enter App Name".
Copy your Account ID and SecretKey for that App.
Download the .zip file source code for the latest release.
Extract the .zip file to a new folder.
Open Unity Hub, and select the extracted "ARwayApp" folder.
Open the project using Unity Editor Version 2022.3.29 (LTS).
In the Project Window, go to "Assets -> ARway -> Viewer Mode -> Resource-> ARWayKitConfig " and add your credentials for the Account ID and Secret Key.
"File -> Build Settings -> Build -> Select iOS/Android"
Navigate to "Window -> Asset Management -> Addressable -> Groups".
In the Addressables Groups window, click on "Build -> New Build -> Default Build Script".
When making any changes that affect localization strings, you will need to update the Addressables Groups.
In Unity select "File -> Build Settings".
Ensure the following scenes are selected:
ARWay/ViewerMode/0_Scene/Dashboard-SDK
ARWay/ViewerMode/0_Scene/ARMapSession
Change the platform to either Android or iOS by selecting "Android or iOS -> Switch Platform".
Select "Build and Run" to run the app.
After successfully building the app on your device, you can scan QR codes that you created for your ARway maps in the Creator Portal.