GLX Application Framework > GLX Application Framework > Configuring Auto Update

Configuring Auto Update

By using the GLX Application Framework to build your application you automatically get auto update capabilities. This lesson will explain how to configure the auto update url so you can call glxapp_updateIfAvailable from your application.

Set the Base Auto Update URL

Media_1205642994840_display

The first step is using the auto updater is to configure the base url (1). This is a http:// url that points to the folder where you will upload the auto update files produced with the GLX Application Packager.

The base url works in conjunction with build profiles (2). When you check for updates using glxapp_updateIfAvailable the framework combines the base url and the build profile used to package the application to locate an update.txt file.

Media_1205643679034_display

If you set the Base Auto Update URL to http://www.myserver.com/auto_update then you would create folders within the auto_update folder for each build profile you will provide auto updates for. You would also upload the updater.gz file (the compressed version of glxappUpdater.rev) to the folder.

You can now upload auto updates to these folders.

Comments (0)

Add your comment




E-Mail me when someone replies to this comment

Are you human?