From cdba64fad908e9fa46031855c21b907f9762986e Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 26 Oct 2015 11:56:38 -0300 Subject: [PATCH] Fix barcodescanner plugin for cordova 5 --- cordova/android/build-extras.gradle | 6 ++++++ cordova/build.sh | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 cordova/android/build-extras.gradle diff --git a/cordova/android/build-extras.gradle b/cordova/android/build-extras.gradle new file mode 100644 index 000000000..bd21ff7f3 --- /dev/null +++ b/cordova/android/build-extras.gradle @@ -0,0 +1,6 @@ +android { + lintOptions { + disable 'MissingTranslation' + disable 'ExtraTranslation' + } +} diff --git a/cordova/build.sh b/cordova/build.sh index 736ba8136..ba85d6ed0 100755 --- a/cordova/build.sh +++ b/cordova/build.sh @@ -174,6 +174,9 @@ if [ $CURRENT_OS == "ANDROID" ]; then # cp android/AndroidManifest.xml $PROJECT/platforms/android/AndroidManifest.xml # checkOK + + cp android/build-extras.gradle $PROJECT/platforms/android/build-extras.gradle + checkOK cp android/project.properties $PROJECT/platforms/android/project.properties checkOK