diff --git a/android/codepush.gradle b/android/codepush.gradle index 51e2af323..b717f911a 100644 --- a/android/codepush.gradle +++ b/android/codepush.gradle @@ -17,7 +17,7 @@ void runBefore(String dependentTaskName, Task task) { } } -gradle.projectsEvaluated { +afterEvaluate { android.buildTypes.each { // to prevent incorrect long value restoration from strings.xml we need to wrap it with double quotes // https://github.com/microsoft/cordova-plugin-code-push/issues/264