Hi,
I need to add/override few files under android platform during AppFlow build (i.e add google-services.json file to /platforms/android/app/)
I suppose I need to include “copy files script” anywhere… any suggestions how to achieve it?
Many thanks,
Amit
Well, I’ve found a good way achieving it through config.xml file.
Under the relevant platform (Android in my case) I’ve added a directive per file which did the work:
<resource-file src="resources/google-services.json" target="app/google-services.json" />
<resource-file src="resources/gradle.properties" target="gradle.properties" />
<resource-file src="resources/project.properties" target="project.properties" />
<source-file src="resources/Capture.java" target-dir="app/src/main/java/org/cordova/mediacapture" />
BR,
Amit