larryaasen / upgrader

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

Update alert not showing #421

Open esaiamuthan opened 2 weeks ago

esaiamuthan commented 2 weeks ago
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