Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 470 Bytes

disallowRestart.md

File metadata and controls

17 lines (9 loc) · 470 Bytes

@appzung/react-native-code-push v11.0.0-rc7


@appzung/react-native-code-push / disallowRestart

Function: disallowRestart()

disallowRestart(): Promise<void>

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.

Returns

Promise<void>