UNPKG

cap-codepush

Version:

CodePush Plugin for Capacitor. Working with Capacitor 7.

19 lines 905 B
/** * Defines the available install modes for updates. */ export var InstallMode; (function (InstallMode) { /** * The update will be applied to the running application immediately. The application will be reloaded with the new content immediately. */ InstallMode[InstallMode["IMMEDIATE"] = 0] = "IMMEDIATE"; /** * The update is downloaded but not installed immediately. The new content will be available the next time the application is started. */ InstallMode[InstallMode["ON_NEXT_RESTART"] = 1] = "ON_NEXT_RESTART"; /** * The udpate is downloaded but not installed immediately. The new content will be available the next time the application is resumed or restarted, whichever event happends first. */ InstallMode[InstallMode["ON_NEXT_RESUME"] = 2] = "ON_NEXT_RESUME"; })(InstallMode || (InstallMode = {})); //# sourceMappingURL=installMode.js.map