AppVersionUpdateService class
Constructors
- AppVersionUpdateService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateStream
→ Stream<
VersionUpdateInfo> -
no setter
Methods
-
checkVersionUpdate(
) → Future< VersionUpdateInfo> - Check if an app update is available
-
dispose(
) → void - Dispose of the service
-
forceVersionCheck(
) → Future< void> - Force a version check (useful for app resume events) This uses cached values and listener updates to avoid hitting Firebase fetch limits
-
forceVersionCheckWithFetch(
) → Future< void> - Force a version check with fresh Remote Config fetch (debug use only) This should only be used for debugging as it counts toward Firebase's 5 fetches/hour limit
-
getListenerStatus(
) → Map< String, dynamic> - Get detailed listener status for debugging
-
initialize(
) → Future< void> - Initialize the version update service and start listening for remote config updates
-
isListenerActive(
) → bool - Check if the Remote Config listener is active and working
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
testListener(
) → Future< void> - Test the Remote Config listener by forcing a manual value check
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited