I am working on a project that require me to compare the app version. I am currently using package_info_plus
to get the current app version, but I still can’t manage to get the latest version from the Play Store. Is there anyway to allow me to read the latest version number from the Play Store using my App ID?
2
Answers
i always add a Config API where i return an Object for Latest Version where one property defines its latest version and 2nd one defines is that require to update or not
API Response Looks like this
{
"latestVersion": "1.2.3",
"isUpdateRequired": true
}
You can use flutter_app_version_checker: ^0.3.2 for getting app verion name , version , is update available and many more . for more info visit https://pub.dev/packages/flutter_app_version_checker