From 832eafeb1f05e64c7a05bc4abcc2c5c0b7c09adb Mon Sep 17 00:00:00 2001 From: "K. Shankari" Date: Sun, 5 Apr 2020 16:45:19 -0700 Subject: [PATCH] Change the class import script to work with the cordova 7+ + bump up plugin version number This is related to 716fd24dcc9b40c64e16ff646c265a65715d8de5 --- hooks/android/addResourcesClassImport.js | 2 +- plugin.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hooks/android/addResourcesClassImport.js b/hooks/android/addResourcesClassImport.js index 61f3774..77ec351 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 aa7a607..b10052e 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,7 +1,7 @@ + version="1.2.4"> TransitionNotification Transition notification. Specially good for trip start and trip end notifications @@ -10,6 +10,7 @@ +