ARwayKit SDK
❱ HOMEPAGE⚎ DEVELOPER PORTAL
  • Introduction
  • Change Log
  • FAQ
  • ARWAY SDK
    • Getting Started
    • Building from the Source Code
    • Integrating the Unity Package
    • Managing App Localizations
      • Enabling Right-to-Left (RTL) Text
    • Sample Scenes
      • Dashboard
      • AR Map Session
    • Branding the Sample App
      • Replacing ARway Logos in the Sample App
    • Third Party
    • SDK Upgrade Guide
      • 3.1.0 -> 3.1.4
      • 3.0.1 -> 3.1.0
      • 3.0.0 -> 3.0.1
      • 2.5.1 -> 3.0.0
      • 2.3.1 -> 2.5.1
      • 2.3 -> 2.3.1
    • Enhancing the Sample App
      • Instant Location Pin Navigation
      • Customizing the Default Navigation Arrow
      • Initializing AR Using an IAP
  • Maps Studio
    • Overview
    • Maps Studio
      • Creating a Map
      • Editing Map Details
      • Uploading Content
      • QR Codes
      • Image Access Points (IAPs)
      • Floorplans
      • Using the Editor
      • Occlusion
      • Analytics
  • ARwayKit SDK Integrations
    • Flutter
      • Quickstart in Flutter
    • React Native
      • Quickstart in React Native
    • Android Kotlin
      • Quickstart in Android Kotlin
    • Android Java
      • Quickstart in Android Java
    • iOS Swift
      • Quickstart in iOS Swift
  • Deep Linking
    • What is Deep Linking?
    • Creator Portal Changes
    • Modifying the SDK
    • Configuring Server Files
  • DEVELOPER FEEDBACK
    • Support
Powered by GitBook
On this page
  • Get the ARwayKit SDK Source Code
  • Prerequisites
  • Implementation
  • Getting the Account ID and Secret Key
  • Opening the Project in Unity
  • Adding the Account ID and Secret Key
  • Switch Build Platform to Android or iOS.
  • Updating the Addressables Groups
  • Building the App
  1. ARWAY SDK

Building from the Source Code

Building the sample app provided in the ARwayKit SDK

PreviousGetting StartedNextIntegrating the Unity Package

Last updated 11 months ago

To build the sample app directly from the source code (.zip) provided in the release, follow the below steps.

Get the ARwayKit SDK Source Code

Download the .zip from our . Please for access.

Prerequisites

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

Implementation

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.

Getting the Account ID and Secret Key

  1. From the ARway Creator Portal, go to "For Developers -> Create a New App -> Enter App Name".

  2. Copy your Account ID and SecretKey for that App.

Opening the Project in Unity

  1. Download the .zip file source code for the latest release.

  2. Extract the .zip file to a new folder.

  3. Open Unity Hub, and select the extracted "ARwayApp" folder.

  4. Open the project using Unity Editor Version 2022.3.29 (LTS).

Adding the Account ID and Secret Key

  1. In the Project Window, go to "Assets -> ARway -> Viewer Mode -> Resource-> ARWayKitConfig
" and add your credentials for the Account ID and Secret Key.

Switch Build Platform to Android or iOS.

  1. "File -> Build Settings -> Build -> Select iOS/Android"

Updating the Addressables Groups

  1. Navigate to "Window -> Asset Management -> Addressable -> Groups".

  2. 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.

Building the App

  1. In Unity select "File -> Build Settings".

  2. Ensure the following scenes are selected:

    • ARWay/ViewerMode/0_Scene/Dashboard-SDK

    • ARWay/ViewerMode/0_Scene/ARMapSession

  3. Change the platform to either Android or iOS by selecting "Android or iOS -> Switch Platform".

  4. 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.

GitHub
contact us
Integrating the Unity Package
The "For Developers" page of the Creator Portal
AR Way Kit Config
Build Settings Window
Dashboard scene