Forums

OverviewFelgo 2 Support (Qt 5) › Triggering app updates

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17272

    Kool

    Hi All,

    I remember something about triggering an app update by linking to an external variable outside of the app.

    Is there a simple example of this somewhere? What could I do if I don’t have anywhere to host the external variable?

    Many thanks!

    #17280

    Günther
    Felgo Team

    Hi Kool!

    What do you mean by “triggering an app update”?
    App updates require to publish a new build version of your app to the stores, which then provide the update to your users.
    The store takes care of rolling your updates out, they will be available similar to updates of other installed apps.

    To notify users of such a new update, you can do several things:

    • If your app uses a server-triggered push-notification plugin like OneSignal or GCM, you can manually send out a notification to all registered users as soon as the update is rolled out and available for everyone.
    • You can check if the currently installed app version matches the latest version and show a dialog in the app that a new version is available then. In this case you have to provide the information which version is the newest one somewhere outside of the actual app.
      Your app can then compare the version you e.g. load from a file or API on your web-server to the one that is installed currently. If you increase the version on your server, the app can then detect this change. A possible solution would be to use an XmlHttpRequest for checking the file on your server. The QML Loader type also allows to dynamically load a QML file from a web-server -> this approach is also used in our One Card demo.

    Best,
    Günther

     

    Best,
    Günther

    #17284

    Kool

    Hi Gunther,

    What I mean by ‘triggering app update’ was at app startup, display a dialog saying “New version available” with options for “Update” or “Later”. Clicking “Update” would take them to the app store page to download the new version.

    However, if the various app stores manage this automatically, I’d prefer to leave it at that.

    Many thanks!

    #17285

    Günther
    Felgo Team

    Hi,

    yes, the stores manage the rollout of the update. But as mentioned above you can additionally display a Dialog at app-startup within your app to notify the users that there’s a new version they can install.

    The older version that is installed does not know whether a new version is available or not, so you can use the solutions described above to decide whether to show the custom update dialog within your app or not.

    Best,
    Günther

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support