Skip to content

UpdateFrom.XML

Javier Santos edited this page Apr 19, 2016 · 8 revisions

Basic Usage

new AppUpdater(this)
       .setUpdateFrom(UpdateFrom.XML)
       .setUpdateXML("https://raw.githubusercontent.com/javiersantos/AppUpdater/master/app/update.xml")
       .start();

### Example XML https://raw.githubusercontent.com/javiersantos/AppUpdater/master/app/update.xml

<AppUpdater>
  <update>
    <latestVersion>1.2.2</latestVersion>
    <url>https://github.com/javiersantos/AppUpdater/releases</url>
  </update>
</AppUpdater>

Adding release notes

https://raw.githubusercontent.com/javiersantos/AppUpdater/master/app/update-changelog.xml

<AppUpdater>
  <update>
    <latestVersion>1.2.2</latestVersion>
    <url>https://github.com/javiersantos/AppUpdater/releases</url>
    <releaseNotes>
- First evolution
- Second evolution
- Bug fixes
    </releaseNotes>
  </update>
</AppUpdater>

Notes

No additional notes.

Clone this wiki locally