<?xml version="1.0" encoding="UTF-8"?>
<plugin
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
  xmlns:android="http://schemas.android.com/apk/res/android"
  id="cordova-plugin-call-number-helper"
  version="1.0.3"
>
  <description>Call Number from Cordova Application</description>
  <name>Cordova Call Number Plugin</name>
  <author>Okan Beydanol</author>
  <repo>https://github.com/okanbeydanol/cordova-plugin-call-number-helper.git</repo>
  <issue>https://github.com/okanbeydanol/cordova-plugin-call-number-helper/issues</issue>
  <license>Apache 2.0</license>
  <keywords>cordova,call,dialer,phonegap</keywords>
  <js-module src="www/CallNumber.js" name="CallNumber">
    <clobbers target="cordova.plugins.CallNumber" />
  </js-module>
  <platform name="ios">
    <config-file target="config.xml" parent="/*">
      <feature name="CallNumber">
        <param name="ios-package" value="CallNumber" />
      </feature>
    </config-file>
    <header-file src="src/ios/CallNumber.h" />
    <source-file src="src/ios/CallNumber.m" />
  </platform>
  <platform name="android">
    <config-file target="res/xml/config.xml" parent="/*">
      <feature name="CallNumber">
        <param name="android-package" value="com.okanbeydanol.callNumber.CallNumber" />
      </feature>
    </config-file>
    <config-file target="app/src/main/AndroidManifest.xml" parent="/*">
      <uses-permission android:name="android.permission.CALL_PHONE" />
      <uses-feature android:name="android.hardware.telephony" android:required="false" />
    </config-file>
    <source-file src="src/android/CallNumber.java" target-dir="src/com/okanbeydanol/callNumber" />
  </platform>
</plugin>
