larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
547 stars 268 forks source link

dialog getting dismissed #243

Closed KallepalliTirumalesh closed 5 months ago

KallepalliTirumalesh commented 1 year ago

Hi, Thanks for the plugin I am facing this issue on clicking update now the dialog is getting dismissed how to show persistent dialog until user updates the application.

class AppUpdate extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
   return UpgradeAlert(
     upgrader: Upgrader(
         debugLogging: true,
         canDismissDialog: false,
         showIgnore: false,
         showLater: false,
         onUpdate: ()=>false,
         durationUntilAlertAgain: const Duration(seconds: 1)),

   );
  }

}
Navil commented 1 year ago

Did you find a solution? I have the same issue

larryaasen commented 10 months ago

@KallepalliTirumalesh @Navil Is this still an issue?