From 41c51018209019e4b64e9fc111968d192eeda6fa Mon Sep 17 00:00:00 2001 From: danielbasedow Date: Sun, 22 May 2016 10:10:47 +0200 Subject: [PATCH] add constant to c# code --- windows/CodePushNativeModule.cs | 1 + windows/InstallMode.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/windows/CodePushNativeModule.cs b/windows/CodePushNativeModule.cs index abdd0d0..4ca6b23 100644 --- a/windows/CodePushNativeModule.cs +++ b/windows/CodePushNativeModule.cs @@ -40,6 +40,7 @@ namespace CodePush.ReactNative { "codePushInstallModeImmediate", InstallMode.Immediate }, { "codePushInstallModeOnNextResume", InstallMode.OnNextResume }, { "codePushInstallModeOnNextRestart", InstallMode.OnNextRestart }, + { "codePushInstallModeOnNextRestartOpportunity", InstallMode.OnNextRestartOpportunity }, { "codePushUpdateStateRunning", UpdateState.Running }, { "codePushUpdateStatePending", UpdateState.Pending }, { "codePushUpdateStateLatest", UpdateState.Lastest }, diff --git a/windows/InstallMode.cs b/windows/InstallMode.cs index c407127..11e2fb8 100644 --- a/windows/InstallMode.cs +++ b/windows/InstallMode.cs @@ -4,6 +4,7 @@ { Immediate, OnNextRestart, - OnNextResume + OnNextResume, + OnNextRestartOpportunity } } \ No newline at end of file