<?xml version='1.0' encoding='utf-8'?>
<plugin id="jinkeh-plugin-customerservice" version="0.4.1" xmlns="http://apache.org/cordova/ns/plugins/1.0"
        xmlns:android="http://schemas.android.com/apk/res/android">
    <name>jinkeh-customerservice</name>
    <js-module name="jinkeh-customerservice" src="www/customerservice.js">
        <clobbers target="customerService"/>
    </js-module>
    <platform name="android">
        <config-file parent="/*" target="res/xml/config.xml">
            <feature name="CustomerServicePlugin">
                <param name="android-package" value="jinkeh.cordova.plugin.CustomerServicePlugin"/>
            </feature>
        </config-file>
        <config-file parent="/*" target="AndroidManifest.xml"/>
        <source-file src="src/android/CustomerServicePlugin.java" target-dir="src/jinkeh/cordova/plugin"/>
        <framework custom="true" src="src/android/customerservice.gradle" type="gradleReference"/>
        <resource-file src="src/android/jkcc-release.aar" target="libs/jkcc-release.aar"/>
    </platform>
    <platform name="ios">
        <config-file parent="/*" target="config.xml">
            <feature name="CustomerServicePlugin">
                <param name="ios-package" value="CustomerServicePlugin"/>
            </feature>
        </config-file>
        <source-file src="src/ios/CustomerServicePlugin.m"/>
        <framework src="src/ios/JKCCFramework.framework" custom="true"/>
        <framework src="src/ios/CocoaAsyncSocket.framework" custom="true"/>
        <framework src="src/ios/CocoaLumberjack.framework" custom="true"/>
        <framework src="src/ios/KissXML.framework" custom="true"/>
        <framework src="src/ios/libidn.framework" custom="true"/>
        <framework src="src/ios/NoChat.framework" custom="true"/>
        <framework src="src/ios/SVProgressHUD.framework" custom="true"/>
        <framework src="src/ios/XMPPFramework.framework" custom="true"/>
    </platform>
</plugin>