parse-push-plugin icon indicating copy to clipboard operation
parse-push-plugin copied to clipboard

Plugin needs update to support Cordova 7.x Android folder structure

Open mellinger opened this issue 7 years ago • 2 comments

It looks like the /res folder moved when you build with Cordova 7.x.

mellinger avatar Jun 14 '18 06:06 mellinger

In afterAndroidPrepare.js, change line 10 to:
var androidPrjDir = path.join(context.opts.projectRoot, 'platforms/android/app/src/main'); Then change line 28 to: var iconTargetPath = path.join(context.opts.projectRoot, 'platforms', 'android', 'app', 'src', 'main', 'res', 'drawable');

Unsure if this will break others?

mellinger avatar Jun 14 '18 07:06 mellinger

Please check #121

tpimh avatar Jun 15 '18 11:06 tpimh