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

outdated

Update Handler

This Package can be used for checking and keep you app updated.

Features #

  • Auto Redirect to AppStore/PlayStore
  • Force Update (on force updating popup can't be closed or dismissed)
  • Cupertino/Material Designs.

Getting started #

No prerequisites required. But you can add Android package name and iOS appId manually. (NOT REQUIRED).

UpdateHandler.androidAppId="nic.goi.aarogyasetu";
UpdateHandler.iosAppId="1614787047";

Usage #

You just need to pass latestBuildNo,lastForceBuildNo,BuildContext , title & content are optional.

UpdateHandler().isUpdateAvailable(latestBuildNo: 11, lastForceBuildNo: 10, context: context);

OR

UpdateHandler().isUpdateAvailable(
latestBuildNo: 11,
lastForceBuildNo: 10,
context: context,
title: "UPDATE NOW",
content: "NEW APP UPDATE AVAILABLE PLEASE UPDATE ASAP");

Additional information #