From 0c7d644699a05900506587d8acd4f5bf62b73746 Mon Sep 17 00:00:00 2001 From: max-mironov Date: Mon, 22 May 2017 11:55:43 +0300 Subject: [PATCH] Fixed getPendingPackage do not return isMandatory prop See https://github.com/Microsoft/cordova-plugin-code-push/issues/250 for details --- www/localPackage.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/localPackage.ts b/www/localPackage.ts index 31e58d1b..83a89d91 100644 --- a/www/localPackage.ts +++ b/www/localPackage.ts @@ -394,6 +394,7 @@ class LocalPackage extends Package implements ILocalPackage { localPackage.appVersion = metadata.appVersion; localPackage.deploymentKey = metadata.deploymentKey; localPackage.description = metadata.description; + localPackage.isMandatory = metadata.isMandatory; localPackage.failedInstall = installFailed; localPackage.isFirstRun = isFirstRun; localPackage.label = metadata.label; @@ -466,4 +467,4 @@ class LocalPackage extends Package implements ILocalPackage { } } -export = LocalPackage; \ No newline at end of file +export = LocalPackage;