Enable or Disable LiveSync for the Cordova Developer App (Companion app LiveSync)

Filter by IDE
Select the AppBuilder client you are currently using for development.

IDE

Companion app LiveSync is the ability to automatically LiveSync changes to Cordova developer app on a connected device when you save your changes. When Companion app LiveSync is enabled, saving your changes will automatically LiveSync them to your app in the Cordova developer app on a connected device.

You can configure Companion app LiveSync only for a selected connected device. You can enable or disable Companion app LiveSync at any time.

If you have deployed your app in the Cordova developer app from a QR code, LiveSync is always enabled and you cannot disable it.

The Companion app LiveSync setting is global and AppBuilder preserves it for the device across apps and clients.

Prerequisites

  • Verify that your preferred AppBuilder client is running and you are logged in.
  • Verify that you have opened the code for your app in AppBuilder.
  • Verify that you have connected your device and AppBuilder recognizes it.

Procedure

In-Browser

This operation is not available in the in-browser client. You cannot connect devices in the in-browser client.

Windows

You cannot LiveSync changes to connected Windows Phone devices. To be able to LiveSync changes, deploy your app via QR code and use the three-finger refresh gesture to get your latest changes from the cloud.

  1. In the status bar, click Show Mobile Devices.
  2. Select your device.
  3. Click the Companion app LiveSync slider to enable or disable Companion app LiveSync for the selected device.

Visual Studio

You cannot LiveSync changes to connected Windows Phone devices. To be able to LiveSync changes, deploy your app via QR code and use the three-finger refresh gesture to get your latest changes from the cloud.

  1. In the top menu bar, select AppBuilderDevices List.
  2. Select your device.
  3. Click the Companion app LiveSync slider to enable or disable Companion app LiveSync for the selected device.

CLI

In this version of the command-line interface, you cannot work with the Cordova developer app for Windows Phone.

  1. To enable automatic LiveSync for saved changes, in the command prompt, run the following command.

    appbuilder livesync --companion --watch
    

    The Cordova developer app automatically refreshes your app with the latest changes. The command-line interface does not release the console and on every save pushes your changes to the developer app.

  2. To disable automatic LiveSync for saved changes, press Ctrl+C to release the console.

Next Steps

Continue writing your code and LiveSync your changes to the connected devices.

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.