@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
21 lines (20 loc) • 856 B
JavaScript
/**
* Indicates when you would like to check for (and install) updates from the CodePush server.
*/
export let CheckFrequency = /*#__PURE__*/function (CheckFrequency) {
/**
* When the app is fully initialized (or more specifically, when the root component is mounted).
*/
CheckFrequency[CheckFrequency["ON_APP_START"] = 0] = "ON_APP_START";
/**
* When the app re-enters the foreground after being "backgrounded" (user pressed the home button, app launches a separate payment process, etc.)
*/
CheckFrequency[CheckFrequency["ON_APP_RESUME"] = 1] = "ON_APP_RESUME";
/**
* Don't automatically check for updates, but only do it when `sync()` is manually called in app code.
*/
CheckFrequency[CheckFrequency["MANUAL"] = 2] = "MANUAL";
return CheckFrequency;
}({});
//# sourceMappingURL=CheckFrequency.enum.js.map
;