android - Cordova and build process -
i developing application cordova phonegap 3.5 shared several developers.
i have implemented plugin within phonegap 3.5 application. concern following:
create res/values/billing_key.xml, , add together public key follows: <?xml version='1.0' encoding='utf-8'?> <resources> <string name="billing_key">miibijanbgk...aqab</string> </resources> as far understand, each developer need create manually file in generated project located here:
platforms/android/res/values questions:
is there way create file automatically in 'platforms\android\res\values' when running 'cordova build android' ? a way create ant script run 'cordova build android' + generate file, there improve solution ?many thanks
in plugin.xml add together next xml lines:
<source-file src="src/android/florentplugin.xml" target-dir="res/values" /> <config-file target="res/values/florentplugin.xml" parent="/*"> <string name="billing_key">miibijanbgk...aqab</string> </config-file> change filenames fit.
android xml cordova ant
No comments:
Post a Comment