X-SLAYER / app_version_checker

A lightweight flutter plugin to check if your app is up-to-date on Google Play Store or Apple App Store
https://pub.dev/packages/flutter_app_version_checker
MIT License
12 stars 44 forks source link

Add release notes #3

Open dalton5 opened 2 years ago

dalton5 commented 2 years ago

First thanks for the great work.

Is it possible to add the retrieving of release notes please?

The lib works very well.

Thanks,

timobaehr commented 1 year ago

For iOS:

http://itunes.apple.com/lookup?bundleId=<bundleId> returns a simple JSON response. results[0].releaseNotes gives you back the release notes without ugly HTML parsing and regular expressions:

{
    "resultCount": 1,
    "results": [{
        ...
        "supportedDevices": ["iPhone5s-iPhone5s", ...],
        "kind": "software",
        "minimumOsVersion": "10.0",
        "releaseDate": "2021-01-14T08:00:00Z",
        "currentVersionReleaseDate": "2023-01-10T08:00:33Z",
        "releaseNotes": "NEW:\n* Estimation of the amount of gas consumption.\n\nIMPROVEMENTS:\n* When change was saved, show short info below.\n* Cold water meter can be classified as seasonal\n* More public utilities\n\nFIXES:\n* Wastewater amount is set to 0 when wastewater costs are disabled.\n* Duplicate contracts will be deleted automatically\n* Cost overview not visible only after tab change",
        "version": "1.6.119"
    }] 
}
timobaehr commented 1 year ago

I made a pull for this issue: https://github.com/X-SLAYER/app_version_checker/pull/10

Please review. Android PlayStore release notes are available on Google Play Homepage again on January 12th.