update_handler 0.0.4 update_handler: ^0.0.4 copied to clipboard
This package is used for Update handling. There are two types of update Force Update - Soft Update
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 #
- Made by :- Vaibhav Chandolia
- Email:- chandolia.vaibhav@gmail.com
- Website:- vaibhavchandolia.info