When issuing cordova build android
, a build.gradle
file is auto generated.
I'd like this script to insert a variable to the strings.xml
file. I can do this by adding a resValue
line to build.gradle
but I don't want to change that auto-generated file.
Anyway to achieve that?
You can add the string in plugin.xml.
<config-file target="res/values/strings.xml" parent="/*">
<string name="pick_any_option">Pick any option...</string>
</config-file>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With