Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-26131] Android: Do not copy geolocation libs #10127

Merged
merged 8 commits into from
Jun 25, 2018
7 changes: 7 additions & 0 deletions build/android.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ Android.prototype.package = function (packager, next) {
function (cb) {
const moduleDirs = fs.readdirSync(path.join(ANDROID_ROOT, 'modules'));
async.each(moduleDirs, function (dir, callback) {

// skip geolocation
if ([ 'geolocation' ].includes(dir)) {
callback();
return;
}

const moduleLibDir = path.join(ANDROID_ROOT, 'modules', dir, 'lib');
if (fs.existsSync(moduleLibDir)) {
globCopy('*.jar', moduleLibDir, ANDROID_DEST, callback);
Expand Down