larryaasen / upgrader

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

inside child I'm navigating to new screen But the Alert dialogue automatically hide. #269

Open nacpa opened 1 year ago

nacpa commented 1 year ago

Widget UpdateAlertD() { return UpgradeAlert( upgrader:Upgrader( debugDisplayAlways: true, shouldPopScope: ()=>false, messages: UpgraderMessages(), durationUntilAlertAgain: Duration(seconds: 10), dialogStyle: Platform.isIOS ? UpgradeDialogStyle.cupertino : UpgradeDialogStyle.material, onIgnore: () =>false), child: SplashScreen() , ); }

larryaasen commented 1 year ago

@nacpa Maybe the UpgradeAlert widget is being removed from the widget tree. Can you provide the upgrader log?

AnhNguyen3103 commented 11 months ago

I also encountered a similar situation when using after successfully loading the splash screen and switching pages, the modal automatically hides.

larryaasen commented 6 months ago

@nacpa Is this still an issue for you?