Save, Build and Land
At this point, you have a fully operational Web AR project and have previewed it on a mobile device. Next, make a very small code change to illustrate how to update the project, preview the new code, and land the changes into source control.
-
Within
body.html
of the Cloud Editor project, make a small text change to thepromptText
. For example, simply change the text fromTap To Place Model
toTap To Begin
. -
Click
Save + Build
to save your work and initiate a new cloud build of your project.
-
If your mobile browser is still open from scanning the Preview QR code in Step 2, your phone will automatically reload once the build completes. If the mobile browser page is no longer open, scan the Preview QR code again to preview your updates to the project.
-
Once satisfied with your changes, land the updated code into the Cloud Editor's integrated source control. At the top-right of the Cloud Editor window, click Land. The button will be green, indicating that there are changes in the project that have not yet been landed into source control:
- In the Message field enter a brief message describing the changes made, then click Land: