Kony Visualizer gives you different ways of building and viewing your app, depending on your needs. In Kony Visualizer Classic, you can build your app either from the Product menu, or from a command line. And you can view your built app either by previewing it on a mobile device, or by using device emulators and simulators that you configure.
For a smooth build in Kony Visualizer Classic, you'll want to ensure that the following issues have been addressed:
Important: If your app contains deprecated widgets, it's possible that their skins may make reference to the Helvetica font. If you are not explicitly using Helvetica in your app, you should verify your app's configuration and manually remove references to Helvetica before submitting it to the store. The following topics are covered with regard to building an app using Kony Visualizer.
Build a Windows 10 Application
Disable Print Statements in Builds
Publish a Project to KonyFabric
View an Application on an Emulator
When a user builds an application in Kony Visualizer, till Kony Visualizer V8, the user was not allowed to perform any other activities on Visualizer till the build is complete. The user is effectively blocked from performing any design activities when the build is in progress. From Kony Visualizer V 8.1 release onwards, some parts of the build process happens in the background thus enabling a user to continue with their design activities while the build is in progress.
When you click on Build, the Initiating Build message appears. Then, the dialog box minimizes to the console panel, and the build continues in the background. You can see the Build status in the Build tab next to the Console and Search tabs in the console panel.
The tab displays information on different types of builds you chose and their status. A blue progress bar displays the progress of the build for each of the channels you chose. Once the build process is complete, an alert pop up appears on the screen. Once you close the alert popup, the build panel displays the build status for each one of the channels.
While developing any application on Visualizer, you must undertake certain steps such as testing the application and building the binaries multiple times. For every change that you make in the app, the whole project needs to be built each time; thereby, increasing the build time.
To ensure that there is a faster turnaround, a new feature, Incremental Build is introduced in Kony Visualizer V8 SP4 release.
When an app is built for the first time, a full build is performed. The subsequent builds are incremental. In an incremental build, the previously built state of the project is used and only those resources that are changed since the last build are regenerated.
The following are the scenarios where the build is always a full build.
If controllers that interact with the NFI are modified.
If controllers that interact with third-party libraries are modified.
If any changes are made to the property window. For example, SDK/iOS deployment.
If a marketplace component is added into the Visualizer project.
If a new app module(group) is added into the Visualizer project.
If any changes are made to plugins like Sketch and Adobe Photoshop.
You do not have to perform an incremental build and a full build separately. Visualizer will automatically decide whether to perform a full build or an incremental build based on the changes made.
If you add an external asset or library to the Visualizer project after a full build, you must clean up the project using the Clean menu. The Clean menu erases files that were generated during the previous build and makes the project ready for the subsequent build. Once the project is cleaned, Visualizer will perform a full build the next time you trigger a build.
If you do not clean the project and perform a build, Visualizer will not take into consideration the assets and libraries added while performing the build.
Note: The Incremental build is supported only by the regular build.
Rev | Author | Edits |
V8 SP1 | PG | PG |
7.1 | NMK | NMK |
Copyright © 2013 Kony, Inc. All rights reserved. |