Obtain Project Information from the metadata.json File
|
You can find the metadata.json file for a project by navigating to:
C:\Users\<user_name>\Documents\VuforiaStudio\Projects\<project_name>\src\shared\components
|
You can access information that is available in the project metadata file using the following JavaScript:
window.experienceInfo.metadata.<property_name>
For example, include the following snippet in
Home.js to obtain the project name:
window.experienceInfo.metadata.name