1 package expo.modules.updates.db.enums
2 
3 /**
4  * Download status that indicates whether or under what conditions an
5  * update is able to be launched.
6  */
7 enum class UpdateStatus {
8   /**
9    * The update has been fully downloaded and is ready to launch.
10    */
11   READY,
12   /**
13    * The update manifest has been download from the server but not all assets have finished
14    * downloading successfully.
15    */
16   PENDING,
17   /**
18    * The update has been partially loaded (copied) from its location embedded in the app bundle, but
19    * not all assets have been copied successfully. The update may be able to be launched directly
20    * from its embedded location unless a new binary version with a new embedded update has been
21    * installed.
22    */
23   EMBEDDED,
24   /**
25    * The update manifest has been downloaded and indicates that the update is being served from a
26    * developer tool. It can be launched by a host application that can run a development bundle.
27    */
28   DEVELOPMENT
29 }
30