UNPKG

@appzung/react-native-code-push

Version:

React Native plugin for the CodePush service

18 lines (17 loc) 739 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.clearUpdates = clearUpdates; var _NativeRNAppZungCodePushModule = require("./internals/NativeRNAppZungCodePushModule.js"); /** * Clears all downloaded CodePush updates. * * This is useful when switching to a different release channel which may have an older release than the current package. * Note: we don’t recommend using this method in scenarios other than that (CodePush will call * this method automatically when needed in other cases) as it could lead to unpredictable behavior. */ function clearUpdates() { return _NativeRNAppZungCodePushModule.NativeRNAppZungCodePushModule.clearUpdates(); } //# sourceMappingURL=clearUpdates.js.map