Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded