<?xml version="1.0" encoding="UTF-8"?>

<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0" id="com.qdev.webintent"
      version="1.0.4">
    <name>WebIntent</name>
    <description>Web intents for Cordova</description>
    <license>MIT</license>
    <keywords>cordova, webintent</keywords>

    <js-module src="www/webintent.js" name="WebIntent">
        <clobbers target="WebIntent" />
    </js-module>

    <!-- android -->
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="/*">
            <feature name="WebIntent" >
                <param name="android-package" value="com.borismus.webintent.WebIntent"/>
            </feature>
        </config-file>

        <source-file src="src/android/WebIntent.java" target-dir="src/com/borismus/webintent" />

        <!--
        <config-file target="AndroidManifest.xml" phttps://phonegap.com/blog/2016/02/16/git-plugins/arent="/manifest/application">
            <receiver
                android:name="com.borismus.webintent.WebIntent$ReferralReceiver"
                android:enabled="true"
                android:exported="true"
                android:label="@string/app_name">
                <intent-filter>
                    <action android:name="com.android.vending.INSTALL_REFERRER" />
                </intent-filter>
            </receiver>
        </config-file>
        -->
    </platform>
</plugin>
