tbib_upgrade_app 1.0.2 tbib_upgrade_app: ^1.0.2 copied to clipboard
This package for check app update version by upgrader.
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());