Improve phonegap sdk build process to embed android and ios sdks