<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
    xmlns:rim="http://www.blackberry.com/ns/widgets"
    xmlns:android="http://schemas.android.com/apk/res/android"
    id="first-cordova-plugin-by-harshit"
    version="0.1">
    <name>FirstCordovaPluginByHarshit</name>
    <description>First Cordova Plugin BY Harshit</description>
    <license>Apache 2.0</license>
    <keywords>cordova,device,First,Cordova,Plugin,BY Harshit</keywords>
    <repo>https://github.com/HarshitChhipa/FirstCordovaPluginByHarshit.git</repo>
    <issue>https://issues.apache.org/jira/browse/CB/component/12320648</issue>

    <js-module src="www/plugin.js" name="plugin">
        <runs/>
        <clobbers target="FirstCordovaPluginByHarshit" />
    </js-module>

    <!-- android -->
    <platform name="android">
        <config-file target="res/xml/config.xml" parent="/*">
            <feature name="FirstCordovaPluginByHarshit" >
                <param name="android-package" value="org.apache.cordova.FirstCordovaPluginByHarshit"/>
                <param name="onload" value="true" />
            </feature>
        </config-file>

        <source-file src="src/android/FirstCordovaPluginByHarshit.java" target-dir="src/org/apache/cordova/FirstCordovaPluginByHarshit/FirstCordovaPluginByHarshit" />
    </platform>

    <!-- ios -->
    <platform name="ios">
        <config-file target="config.xml" parent="/*">
            <feature name="FirstCordovaPluginByHarshit">
                <param name="ios-package" value="FirstCordovaPluginByHarshit" onload="true" />
            </feature>
        </config-file>

        <header-file src="src/ios/CDVFirstCordovaPluginByHarshit.h" />
        <source-file src="src/ios/CDVFirstCordovaPluginByHarshit.m" />
    </platform>

    <!-- windows -->
    <!-- <platform name="windows">
        <js-module src="src/windows/DeviceProxy.js" name="DeviceProxy">
            <runs />
        </js-module>
    </platform> -->

    <!-- browser -->
    <!-- <platform name="browser">
        <config-file target="config.xml" parent="/*">
            <feature name="Device">
                <param name="browser-package" value="Device" />
            </feature>
        </config-file>

        <js-module src="src/browser/DeviceProxy.js" name="DeviceProxy">
            <runs />
        </js-module>
    </platform> -->

    <!-- osx -->
    <!-- <platform name="osx">
        <config-file target="config.xml" parent="/*">
            <feature name="Device">
                <param name="ios-package" value="CDVDevice"/>
            </feature>
        </config-file>

        <header-file src="src/osx/CDVDevice.h" />
        <source-file src="src/osx/CDVDevice.m" />
    </platform> -->

</plugin>
