GlobalKey<NavigatorState> _navigatorKey = GlobalKey<NavigatorState>();
TBIBCheckForUpdate.init(_navigatorKey);
bool newUpdate= TBIBCheckForUpdate.checkForUpdate();
if(newUpdate){
return;
}
Navigator.push(context, HomeScreen());
bool newUpdate= TBIBCheckForUpdate.forceCheckUpdate();
if(newUpdate){
return;
}
Navigator.push(context, HomeScreen());
can add your custom upgrader
TBIBCheckForUpdate.customCheckForUpdate(Upgrader())