@appzung/react-native-code-push v11.0.0-rc3
@appzung/react-native-code-push / UpdateState
Indicates the state that an update is currently in.
LATEST:
number
Indicates than an update represents the latest available release, and can be either currently running or pending.
PENDING:
number
Indicates than an update has been installed, but the app hasn't been restarted yet in order to apply it.
This can be useful for determining whether there is a pending update, which you may want to force a programmatic restart (via restartApp) in order to apply.
RUNNING:
number
Indicates that an update represents the version of the app that is currently running.
This can be useful for identifying attributes about the app, for scenarios such as displaying the release description in a "what's new?" dialog or reporting the latest version to an analytics and/or crash reporting service.