Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The JSON updater file is mal-formatted #189

Open
MansoorJafari9 opened this issue Jun 8, 2020 · 1 comment
Open

The JSON updater file is mal-formatted #189

MansoorJafari9 opened this issue Jun 8, 2020 · 1 comment

Comments

@MansoorJafari9
Copy link

MansoorJafari9 commented Jun 8, 2020

Hi
this is my json result
{"latestVersion":"2","latestVersionCode":"13","url":"http://url.com/api/mobile/downloadapp","releaseNotes":["Test first","The second"]}

give me this error

E/AppUpdater: The JSON updater file is mal-formatted. AppUpdate can't check for updates.

@mridah
Copy link

mridah commented Sep 28, 2020

@MansoorJafari9 Your JSON looks fine. I think that latestVersionCode should be an integer, not a string.

Also, it's better to use version numbers like 2.0.0 instead of just 2 (that's just a suggestion)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants