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
When we have a higher version available on the play store. This feature redirects users to the app store to install updates. But it is not working in release mode. When users clear the storage they are getting an alert to update the app, but we cannot ask every user to clear storage. Users still using the older version. We really require this forced update.
Any help would be greatly appreciated.
// Using default duration to force fetching from a remote server.
await remoteConfig.fetch();
await remoteConfig.fetchAndActivate();
remoteConfig.getString('latest_version'); //for testing
double newVersion = double.parse(remoteConfig
.getString('latest_version')
.trim()
.replaceAll(".", ""));
print("new " + newVersion.toString() + " current: " +currentVersion.toString() );
ConstantMethods.showToastLong("version check 2 : " + "new " + newVersion.toString() + " current: " +currentVersion.toString());
if (newVersion > currentVersion) {
_showVersionDialog(context);
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When we have a higher version available on the play store. This feature redirects users to the app store to install updates. But it is not working in release mode. When users clear the storage they are getting an alert to update the app, but we cannot ask every user to clear storage. Users still using the older version. We really require this forced update.
Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions