getUpdateStalenessDays static method

Future<PlayxVersionUpdateResult<int>> getUpdateStalenessDays()

Check the number of days since the update became available on the Play Store If an update is available or in progress, this method returns the number of days since the Google Play Store app on the user's device has learnt about an available update. If update is not available, or if staleness information is unavailable, this method returns -1. returns PlayxVersionUpdateResult with int number of days on success.

Implementation

static Future<PlayxVersionUpdateResult<int>> getUpdateStalenessDays() async {
  return PlayxVersionUpdatePlatform.instance.getUpdateStalenessDays();
}