Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Avoid meteor framework to override cordova config.xml and AndroidManifest.xml

Tags:

meteor

cordova

I am building an android application using meteor framework. I am making changes for activity and intent.

My changes in AndroidManifest.xml and cordova config.xml gets overridden on every fresh build due to which my development has stopped.

How can I avoid meteor to override these files ?

like image 991
Manjeet Sangwan Avatar asked Oct 20 '22 12:10

Manjeet Sangwan


1 Answers

We can create a special top-level folder called cordova-build-override. The whole file tree of this directory will be cp -R (copied overwriting existing files) to the Meteor project right before the build and compilation step.

For example: if you want to have a customized config.xml, you can put it in project/cordova-build-override/config.xml.

Its described in https://github.com/meteor/meteor/wiki/Meteor-Cordova-Phonegap-integration#advanced-build-customization .

like image 160
vashishatashu Avatar answered Oct 22 '22 19:10

vashishatashu