Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Configure the Target NativeScript Version

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

IDE

When a new target version of NativeScript becomes available in AppBuilder, you can quickly update to the new version of NativeScript and continue development. You can also downgrade to a supported NativeScript version.

This operation migrates the NativeScript modules to match the selected version and lets you build your app against it.

Migration Specifics

When you migrate between NativeScript version, you need to be aware of the following behavior.

  • When you migrate between NativeScript versions, this operation does not apply the necessary code changes to address possible breaking changes in the NativeScript modules and runtimes. Always make sure to review the changelogs for the NativeScript version to which you want to migrate and address breaking changes in the APIs inside your code.

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.

Procedure

In-Browser

  1. In the Project Navigator, double-click Properties.
  2. Navigate to the General tab, if needed.
  3. From the NativeScript Version drop-down menu, select the version that you want to target.
  4. Wait for the operation to complete.
  5. Close the properties dialog.

Windows

  1. In the Project Navigator, double-click Properties.
  2. Navigate to the General tab, if needed.
  3. From the NativeScript Version drop-down menu, select the version that you want to target.
  4. Save your changes.
  5. Wait for the operation to complete.
  6. Close the dialog.

Visual Studio

  1. In the Solution Explorer, double-click Properties.
  2. Navigate to the General tab, if needed.
  3. From the NativeScript Version drop-down menu, select the version that you want to target.
  4. Save your changes.
  5. Wait for the operation to complete.
  6. Close the dialog.

CLI

  1. In the command prompt, navigate to the directory that contains your app.
  2. To print the current target framework version for your app, run the following command.

    appbuilder mobileframework
    

    This operation also lists the available framework versions.

  3. To change the target framework version for your app, run the following command.

    appbuilder mobileframework set <Version>
    

    <Version> is a valid target framework version as listed in Step 2.

Next Steps

Address any breaking changes in the NativeScript APIs and run your app on device. If you have already deployed your app on device, you need to re-deploy it for the configuration changes to take effect.

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.