version_sentry 1.0.5 copy "version_sentry: ^1.0.5" to clipboard
version_sentry: ^1.0.5 copied to clipboard

A Flutter package to help apps stay up-to-date by fetching the latest version from the Play Store (Android) or App Store (iOS)

Version Sentry #

A Flutter package to help apps stay up-to-date by fetching the latest version from the Play Store (Android) or App Store (iOS). Usage #

To use Version Sentry, simply call the versionSentryInfo function and pass the country code:

import 'package:version_sentry/version_sentry.dart';

void main() async {
  VersionSentryInfo? versionSentryInfo = await VersionSentry.versionSentryInfo(countryCode: 'in');

  print(versionSentryInfo?.currentVersion); // 1.0.0
  print(versionSentryInfo?.storeVersion); // 1.4.20
  print(versionSentryInfo?.needsUpdate); // true
  print(versionSentryInfo?.isMajorUpdate); // false
  print(versionSentryInfo?.isMinorUpdate); // true
  print(versionSentryInfo?.isPatchUpdate); // true
  print(versionSentryInfo?.releaseNotes); // Improve Design
  print(versionSentryInfo?.packageName); // com.example.example
  print(versionSentryInfo?.platform); // iOS
}

Features #

  1. Fetches the latest version from the Play Store (Android) or App Store (iOS)
  2. Provides information about the current version, store version, and update requirements
  3. Supports country-specific version fetching using country codes

[Simulator Screenshot - iPhone 16 Pro Max - 2025-02-09 at 19.08.29.png]

7
likes
0
points
52
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to help apps stay up-to-date by fetching the latest version from the Play Store (Android) or App Store (iOS)

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, html, http, package_info_plus, version

More

Packages that depend on version_sentry