Tbib Upgrade App

Setup

GlobalKey<NavigatorState> _navigatorKey = GlobalKey<NavigatorState>();
TBIBCheckForUpdate.init(_navigatorKey);

how to use

bool newUpdate= TBIBCheckForUpdate.checkForUpdate();

if(newUpdate){
    return;
}
Navigator.push(context, HomeScreen());

force upgrade

bool newUpdate= TBIBCheckForUpdate.forceCheckUpdate();

if(newUpdate){
    return;
}
Navigator.push(context, HomeScreen());

can add your custom upgrader

TBIBCheckForUpdate.customCheckForUpdate(Upgrader())

Libraries

tbib_upgrade_app
A Very Good Project created by Very Good CLI.