myket_updater 1.0.2 copy "myket_updater: ^1.0.2" to clipboard
myket_updater: ^1.0.2 copied to clipboard

PlatformAndroid

A Flutter plugin for checking app updates on Myket (Iranian app store). Provides a simple API to check for updates and show an update dialog to users.

myket_updater #

A Flutter plugin for checking app updates on Myket (Iranian app store).

Features #

  • Check if a new version is available on Myket
  • Open the Myket app page for users to download updates
  • Show a built-in update dialog with changelog support
  • Strip HTML tags from changelog descriptions

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  myket_updater: ^0.0.1

Usage #

import 'package:myket_updater/myket_updater.dart';

// Check for updates
final result = await MyketUpdater.checkForUpdate();
if (result.isUpdateAvailable) {
  // Handle update
}

// Show update dialog
await MyketUpdater.checkAndShowDialog(context);

// Open Myket page directly
await MyketUpdater.openMyketPage();

Platform Support #

Platform Support
Android Yes

License #

See LICENSE for details.

1
likes
160
points
91
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for checking app updates on Myket (Iranian app store). Provides a simple API to check for updates and show an update dialog to users.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on myket_updater

Packages that implement myket_updater