Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dialog gets dismissed on second tap if the app is not updated after the first instance #477

Open
sharathguvvala opened this issue Dec 9, 2024 · 1 comment

Comments

@sharathguvvala
Copy link

Hi, I have an issue where I am trying to persist the modal until app is updated. But when clicked on update now -> returned back to app without updating -> and then clicking on update now is closing the modal.

return UpgradeAlert(
              navigatorKey: AppRouter.router.routerDelegate.navigatorKey,
              dialogStyle: UpgradeDialogStyle.cupertino,
              upgrader: Upgrader(),
              child: MediaQuery.withClampedTextScaling(
                minScaleFactor: 1,
                maxScaleFactor: 1,
                child: Overlay(
                  initialEntries: [
                    OverlayEntry(
                      builder: (context) {
                        return child!;
                      },
                    ),
                  ],
                ),
              ),
            );

version
upgrader: 11.2.0

@sharathguvvala sharathguvvala changed the title dialog getting dismissed when tapped second time without updating the app during first instance dialog gets dismissed on second tap if the app is not updated after the first instance Dec 9, 2024
@JuanFactoriaBIZ
Copy link

JuanFactoriaBIZ commented Dec 16, 2024

Hi, I am experiencing a similar issue. In my case, the modal needs to remain persistent until the app is updated. However, when I click on Update Now and return to the app without completing the update, the modal closes upon clicking Update Now again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants