iws_version_manager 0.0.1 copy "iws_version_manager: ^0.0.1" to clipboard
iws_version_manager: ^0.0.1 copied to clipboard

unlistedoutdated

IWS Version Manager makes it easy to notify new app versions and block versions that are no longer supported.

IWS Version Manager makes it easy to notify new app versions and block versions that are no longer supported.

Features #

  • Popup notifications about new versions.
  • Notifications of new versions and versions no longer supported.
  • Widget to download new versions.
  • Version and device usage tracking.

Getting started #

Add the IWS API key and Version Code as a DART variable at compile time:

--dart-define=IWS_API_KEY=xxxxxxxxxxxxxx
--dart-define=APP_VERSION_CODE=1

Initialize the search for new versions

    if (!IwsVersionManager().widgetsInitialized()) {
      IwsVersionManager(
              deviceId: 'xxxx-xxxx-xxxxx-xxxxx',
              userIdentifier: 'xxxx-xxxx-xxxxx-xxxxx')
          .initializeWidgets();
    }

Usage #

Show new version popups:

  @override
  Widget build(BuildContext context) {
    return IwsVersionScaffoldMessage(
      child: Scaffold(
              appBar: AppBar(),
              body: _body(context),
            )
    );
  }

Check for new versions manually

    final versionStatus = await IwsVersionManager(
      deviceId: 'xxxx-xxxx-xxxxx-xxxxx',
      userIdentifier: 'xxxx-xxxx-xxxxx-xxxxx',
    ).checkPlatformVersion();
0
likes
0
points
178
downloads

Publisher

unverified uploader

Weekly Downloads

IWS Version Manager makes it easy to notify new app versions and block versions that are no longer supported.

Homepage

License

unknown (license)

Dependencies

bloc, device_info_plus, elegant_notification, flutter, flutter_bloc, iws_http, url_launcher

More

Packages that depend on iws_version_manager