@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
16 lines (15 loc) • 612 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.disallowRestart = disallowRestart;
var _NativeRNAppZungCodePushModule = require("./internals/NativeRNAppZungCodePushModule.js");
/**
* Forbid CodePush to restart the app.
*
* This is an advanced API, and is useful when a component within your app (for example an onboarding process) needs to ensure that no end-user interruptions can occur during its lifetime.
*/
function disallowRestart() {
return _NativeRNAppZungCodePushModule.NativeRNAppZungCodePushModule.disallow();
}
//# sourceMappingURL=disallowRestart.js.map
;