Skip to content

Working Around Updater.xml

Sumit Rajdev edited this page Jan 13, 2017 · 1 revision

Setting up your Updater.xml

Here you will get info about what's need of updater.xml and how to add it

RomLatestVersion

You may be confused what should be added here but you can't add any version (it should match with build.prop). Check this to see what should be added and how

after finishing your hours of build you should see ro.rom.version in your build.prop file and simply add that to your updater.xml like

<RomLatestVersion>Your version</RomLatestVersion>

##URL

Here you should add your rom download link like

<URL>HTTP://MyUpdateUrl.zip</URL>

###Note:-

Link should be direct like if you click download button then it should send file without opeaning link else app may crash.

you may use github release feature it allows direct links and it's free :)

for example

https://github.com/Grace5921/OtaUpdater/releases

and this will be my direct link

https://github.com/Grace5921/OtaUpdater/releases/download/untagged-7f4acd62eccc2b45afab/app-debug.apk4

##Changelog

you should know what to be done here else you are not dev

Example :-

        <Changelog>
            - Test Updater
        </Changelog>

Your may look at my updater sample

Clone this wiki locally