ForceUpdateManager class

Constructors

ForceUpdateManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

checkForUpdate({required String minimumVersionRemoteConfigKey, String? minimumVersionOverride}) Future<bool>
Checks if a mandatory update is required for the current platform by comparing the current app version with the minimum required version from Firebase Remote Config.
performForceUpdate(BuildContext context, {required String androidStoreUrl, required String iosStoreUrl, bool? barrierDismissible, String dialogTitle = 'Required Update', String dialogMessage = 'A critical update is required to continue using the app. Please update now to the latest version.', String updateButtonText = 'Update Now', String laterButtonText = 'later'}) Future<void>
Performs the actual forced update process (displaying the dialog and enforcing exit).