Fix Android duplicated plugin

This commit is contained in:
Gustavo Maximiliano Cortez 2016-01-11 10:56:14 -03:00
commit c5ae5d47c3
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -84,11 +84,14 @@ if [ ! -d $PROJECT ]; then
cordova plugin add https://github.com/florentvaldelievre/virtualartifacts-webIntent.git cordova plugin add https://github.com/florentvaldelievre/virtualartifacts-webIntent.git
checkOK checkOK
cordova plugin add https://github.com/phonegap/phonegap-plugin-barcodescanner.git if [ $CURRENT_OS == "IOS" ]
checkOK then
cordova plugin add https://github.com/tjwoon/csZBar.git
cordova plugin add https://github.com/tjwoon/csZBar.git checkOK
checkOK else
cordova plugin add https://github.com/phonegap/phonegap-plugin-barcodescanner.git
checkOK
fi
cordova plugin add cordova-plugin-splashscreen cordova plugin add cordova-plugin-splashscreen
checkOK checkOK