How To Update A Sencha Touch App

Published Jan 20, 2016Last updated Mar 29, 2017
How To Update A Sencha Touch App

It is important to stay up to date with all aspects of the Sencha Touch Ecosystem to ensure your app building process is up to date and you have the latest version of the codebase. In this guide you will learn How To Update A Sencha Touch App

Sencha CMD

Firstly there is the Sencha CMD, which is the tool we used to build applications. It is best to stay up to date with the latest version.

If you are behind a corporate firewall you can download the exe/dmg from the Sencha Site and install using the GUI.

If you have no proxy restrictions, just run sencha upgrade.

Upgrading the SDK

Sencha periodically releases updates to the SDK used to build all of the apps. It is best to stay up to date with the latest version as it contains up to date fixes and improvements. In the case of the recent Chrome 43 issue where some apps were totally broken, some developers had to patch the framework themselves because Sencha didn’t react quickly enough.

However, fixes for these bugs were released in version 2.4.2

Updating the App

In general, the following steps would be:

  • Download the latest commercial version of the Sencha Touch SDK from the Sencha site.
  • Assuming your project is located in export/www/myapp, extract the framework .zip to export/www
    in the CMD window, cd to export/www/myapp
  • Run sencha app upgrade ../touch-2.4.2
  • Your app is now updated!
  • Reload your local and ensure everything is working as expected.
  • Run sencha app build testing from inside export/www/myapp and then deploy to your staging site to test.


If there are other developers on your team they will need to update to the same version of Sencha CMD before they can build

Some people replace the default index.html with an index.php to make it easier to load in config settings. When you upgrade the app, sencha will regenerate the index.html file again so you will need to remove it.

Conclusion on How To Update A Sencha Touch App

You now know How To Update A Sencha Touch App and can use this if you app is out of date. Mention in the comments if you found this post useful and follow the Leader Internet Blog for more quality advice tutorials like this.

Discover and read more posts from Paddy Sherry
get started