There are two options for testing your application - you may either do it directly in the web browser or run it on a mobile device.
Testing in the web browser
A big part of application features (except for AR functionalities) may be tested in a web browser.
There are several ways to access the app:
If you know exactly which app and version you wish to load, all you need to do is to use a URL of a following syntax: https://webversion.viewar.com/[BundleID]/[Version]/
Using My Apps list
If you are unsure what data to input go to My Apps, find the appropriate application and click on the Test icon:
You will see a following pop-up message:
Click on the Test web Version button. A new window will pop up and load your app in the browser.
From App Wizard
Go to My Apps, find the appropriate application and click on the Edit icon:
Follow to the Testing step in the app wizard, click on the Test web Version button. A new window will pop up and load your app in the browser.
Testing in the ViewAR SDK App
In order to facilitate testing, we have developed a dedicated ViewAR SDK App. Given the Bundle ID of your project, it morphs into your application, containing all its functionalities, tracking systems and custom UI. Easy, right?
All you need to do it download it either from the App Store of Google Play Store, type in the Bundle ID you have earlier defined for the project and hit Start. This will launch the most up to date deployed version of your app.
HINT: The Bundle ID is the defined in the Settings Section of the configuration wizard and cannot be changed. It may be found in the top-right corner of all the app configuration wizard steps.
Running a previous version
If you have created multiple version of your application (all must be using the same Bundle ID), you may access each of the separately through the ViewAR SDK App. It is a feature if you want to test changes in a safe way or give your client two versions to compare.
All you need to do is to input the App Version in the field below the Bundle ID in the Start Screen of the ViewAR SDK App. The numbers may be found in Contents > Your Apps.
LAN Development Mode
If you have made changes requiring testing on a mobile device (probably related to AR features) but don't want to deploy them yet, you may use a LAN development mode in the ViewAR SDK App. First, run the app you would like to test on your computer. Start a local web server by typing in:
npm run start:mock
Now, all you need to do is open the ViewAR SDK App, input your Bundle ID, leave the Version field empty (or set to "100") and activate the LAN Development Mode feature. A new input field will appear. Type in your local IP address and hit Start. You should now be able to test and debug your app.
HINT: Your mobile device and computer need to be in the same network.