diff --git a/hooks/android/addResourcesClassImport.js b/hooks/android/addResourcesClassImport.js index 61f37743..77ec351b 100644 --- a/hooks/android/addResourcesClassImport.js +++ b/hooks/android/addResourcesClassImport.js @@ -66,7 +66,7 @@ module.exports = function (ctx) { path = ctx.requireCordovaModule('path'), Q = ctx.requireCordovaModule('q'); - var platformSourcesRoot = path.join(ctx.opts.projectRoot, 'platforms/android/src'); + var platformSourcesRoot = path.join(ctx.opts.projectRoot, 'platforms/android/app/src/main/java/'); var pluginSourcesRoot = path.join(ctx.opts.plugin.dir, 'src/android'); var androidPluginsData = JSON.parse(fs.readFileSync(path.join(ctx.opts.projectRoot, 'plugins', 'android.json'), 'utf8')); diff --git a/plugin.xml b/plugin.xml index ce8fae32..ef213441 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,7 +1,7 @@ + version="1.4.2"> DataCollection Background data collection FTW! This is the part that I really @@ -11,6 +11,7 @@ +