Live Preview, a feature introduced in Kony Visualizer V8 SP4, provides a seamless in-app preview experience within Kony Visualizer. Live Preview reduces the build and preview time of an adaptive web app. It enables you to view your app as it appears on various devices without having to view the app on those devices.
Faster Previews:
Before V8 SP4, if one had to view a web app, they had to build the app, publish the app, get the URL, and open the URL in a web browser to test it.
From V8 SP4, this multistep process has been simplified. Now, when a developer selects the Live Preview option, Visualizer builds the app. Once the build is complete, a Visualizer Preview window appears which displays the web app.
Preview a Web app on Different Devices on a Single window:
Using Live Preview, you can switch between various Devices to experience their different form factors. From the Visualizer Preview window, you can select the device from a drop-down list.
When you select a specific device, the previewer instantly displays the web app mimicking the view on the device.
In-app Debugging:
Provides you with a debugger to detect and diagnose errors in your applications. You can set breakpoints and step through the application’s code using the in-app debugger.
Important: Before you run a Live Preview, ensure that you have a project in which you have a Web app designed.
To preview an Adaptive Web App, do the following:
The Live Preview Settings window appears.
Kony Visualizer V8 SP4 comes with an in-app debugger that can detect and diagnose errors in applications. Adaptive Web apps can be debugged within the Visualizer Preview window using the latest Visualizer debugger.
After launching the Live Preview, a debugger window automatically appears within the Visualizer Preview window.
You can also open the debugger in a separate window by clicking on the Un-dock Developer Tools into separate window button on the upper-right corner of the Visualizer Preview window.
The debugger allows you to control the execution of your application by:
Debugging an application involves launching the application in the Live Preview mode on your desktop.
You can then use the in-app Google Chrome debugger to debug the application. For information on using the Chrome debugger, see Get Started with Debugging JavaScript in Chrome DevTools on the Google Chrome website.
To understand how to Debug an application for iOS and Android platforms you can refer to:
The Live Preview feature has the following limitations:
Copyright © 2013 Kony, Inc. All rights reserved. |