You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error with version 2.2.0 (I have to use 2.2.0 because >=2.2.1 breaks iOS with Method not found: 'XmlDocument.parse'.
Looks like _installedVersion is not getting set soon enough, because _packageInfo.version returns a string. You can see from the stack trace, but UpgradeAlert calls Text(Upgrader().message()), which calls currentInstalledVersion(), which is null.
It only happens on when upgrader is show as app first loads. Hot reloading fixes the issue, but a hot restart that loads the upgrader on the first page is throwing this error.
Tried calling WidgetsFlutterBinding.ensureInitialized(); in case that fixes anything, but no luck.
I'm getting an error with version 2.2.0 (I have to use 2.2.0 because >=2.2.1 breaks iOS with
Method not found: 'XmlDocument.parse'.
Looks like
_installedVersion
is not getting set soon enough, because_packageInfo.version
returns a string. You can see from the stack trace, but UpgradeAlert callsText(Upgrader().message())
, which callscurrentInstalledVersion()
, which is null.It only happens on when upgrader is show as app first loads. Hot reloading fixes the issue, but a hot restart that loads the upgrader on the first page is throwing this error.
Tried calling
WidgetsFlutterBinding.ensureInitialized();
in case that fixes anything, but no luck.Flutter version 1.20.1
The text was updated successfully, but these errors were encountered: