version_sentry 1.0.3 copy "version_sentry: ^1.0.3" to clipboard
version_sentry: ^1.0.3 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 #

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

Getting Started #

Add version_sentry to your pubspec.yaml file: dependencies: flutter: sdk: flutter version_sentry: ^1.0.0

Run flutter pub get to install the package. Import the package in your Dart file:

import 'package:version_sentry/version_sentry.dart';

7
likes
0
points
61
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