1 Reply Latest reply: Sep 30, 2010 1:45 PM by Shikha Bhargava RSS

    Is there a way to force a check for updates at startup?

    YNABteam Community Member

      We are using the update mechanism built into Melrose in order to be compatible with AppUp.  In updateConfig.xml, we currently have our <delay> set to 0.5 to make it check twice a day.  However, it appears that this delay is enforced even if the user restarts our app, so if they cancel an update, they'll have to wait 0.5 days in order to get the update check to happen again.  Our previous (non-Melrose) version of our app always did the update check at startup, and I'd like to try and retain that behavior.  is there a way to do that, or will the app only update after the delay time has passed?

        • 1. Re: Is there a way to force a check for updates at startup?
          Shikha Bhargava Adobe Employee

          Melrose completely relies on the AIR update framework completely to deliver updates. You can set the delay in updateConfig.xml to whatever value you want (and possibly set it to a lowest value), so that updates are triggered more often. For e.g. you can set it to 0.007 which will provide a 10 minute timer.

           

          Per Flex documentation:
          delay—A Number. Represents an interval of time given in days (values like 0.25 are allowed) for checking for updates.