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

Update alert not showing #421

Open
esaiamuthan opened this issue Jun 19, 2024 · 3 comments
Open

Update alert not showing #421

esaiamuthan opened this issue Jun 19, 2024 · 3 comments
Labels
need more information Further information is requested

Comments

@esaiamuthan
Copy link

esaiamuthan commented Jun 19, 2024

return UpgradeAlert(
      child: MultiProvider(
        providers: [UserManager.getProvider()],
        child: MaterialApp(
          navigatorKey: appConfig!.mainNavigatorKey,
          title: 'Prairy',
          debugShowCheckedModeBanner: false,
          theme: buildTheme(),
          initialRoute: this._getInitialRoute(),
          onGenerateRoute: AppRouter.Router.generateRoute,
          localizationsDelegates: [
            AppLocalizationsDelegate(),
            GlobalMaterialLocalizations.delegate,
            GlobalWidgetsLocalizations.delegate,
            GlobalCupertinoLocalizations.delegate,
          ],
          supportedLocales: [
            const Locale('fr'), // French
          ],
        ),
      ),
    );

Here is the code handling on my side but alert is not showing

@ravinder-gs
Copy link

@esaiamuthan Have you find any solution?

@stillie
Copy link

stillie commented Sep 18, 2024

return UpgradeAlert(
      child: MultiProvider(
        providers: [UserManager.getProvider()],
        child: MaterialApp(
          navigatorKey: appConfig!.mainNavigatorKey,
          title: 'Prairy',
          debugShowCheckedModeBanner: false,
          theme: buildTheme(),
          initialRoute: this._getInitialRoute(),
          onGenerateRoute: AppRouter.Router.generateRoute,
          localizationsDelegates: [
            AppLocalizationsDelegate(),
            GlobalMaterialLocalizations.delegate,
            GlobalWidgetsLocalizations.delegate,
            GlobalCupertinoLocalizations.delegate,
          ],
          supportedLocales: [
            const Locale('fr'), // French
          ],
        ),
      ),
    );

Here is the code handling on my side but alert is not showing

It seems that the upgrader widget should be below the material app widget as mentioned here:

#434 (comment)

@larryaasen
Copy link
Owner

@esaiamuthan Can you provide the upgrader log for us to review?

@larryaasen larryaasen added the need more information Further information is requested label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more information Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants