@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
13 lines (11 loc) • 481 B
JavaScript
import { NativeRNAppZungCodePushModule } from "./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.
*/
export function disallowRestart() {
return NativeRNAppZungCodePushModule.disallow();
}
//# sourceMappingURL=disallowRestart.js.map
;