javiersantos / AppUpdater

A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
Apache License 2.0
1.98k stars 410 forks source link

Read custom parameters from JSON file #197

Open mridah opened 3 years ago

mridah commented 3 years ago

I'm using AppUpdaterUtils.

I have a JSON file like the following:

{
  "latestVersion": "1.2.2",
  "latestVersionCode": 10,
  "updateSize": 134567,
  "url": "https://github.com/javiersantos/AppUpdater/releases",
  "releaseNotes": [
    "- First evolution",
    "- Second evolution",
    "- Bug fixes"
  ]
}

I have added a custom property updateSize. Is it possible to get this value in the Update field of onSuccess callback ? @javiersantos