We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024ccf0 commit 9511859Copy full SHA for 9511859
src/restartApp.ts
@@ -7,6 +7,6 @@ import { NativeRNAppZungCodePushModule } from './internals/NativeRNAppZungCodePu
7
*
8
* @param onlyIfUpdateIsPending Indicates whether you want the restart to no-op if there isn't currently a pending update.
9
*/
10
-export async function restartApp(onlyIfUpdateIsPending = false) {
11
- NativeRNAppZungCodePushModule.restartApp(onlyIfUpdateIsPending);
+export function restartApp(onlyIfUpdateIsPending = false) {
+ return NativeRNAppZungCodePushModule.restartApp(onlyIfUpdateIsPending);
12
}
0 commit comments