spec/fixtures/test-configfile.xml (23 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <widget android-packageName="io.cordova.hellocordova.android" id="io.cordova.hellocordova" ios-CFBundleIdentifier="io.cordova.hellocordova.ios" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android"> <name>Hello Cordova</name> <description> A sample Apache Cordova application that responds to the deviceready event. </description> <author email="dev@cordova.apache.org" href="http://cordova.io"> Apache Cordova Team </author> <content src="index.html" /> <access origin="*" /> <platform name="android"> <config-file parent="/manifest/application" target="AndroidManifest.xml"> <meta-data android:name="zoo" android:value="@string/kangaroo" /> </config-file> <config-file target="AndroidManifest.xml" parent="/manifest/application" after="meta-data"> <activity android:name="com.foo.Bar" android:label="@string/app_name"> <intent-filter> </intent-filter> </activity> </config-file> </platform> </widget>