<?xml version="1.0" encoding="UTF-8" ?>

<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-sscspeech" version="10.0.6">
    <name>Speech</name>
    <description>Speech plugin</description>
    <license>Apache 2.0</license>
    <keywords>cordova,speech</keywords>
    
    <js-module src="www/Speech.js" name="Speech">
        <clobbers target="cordova.plugins.Speech" />
    </js-module>
    
    <!-- android -->
    <platform name="android">

    </platform>
    <!-- ios -->
    <platform name="ios">
       
        <config-file target="config.xml" parent="/*">
            <feature name="Speech">
                <param name="ios-package" value="IFLYPlugin"/>
            </feature>
        </config-file>
        <source-file src="src/ios/IFLYPlugin.m" />
        <header-file src="src/ios/SSCiflyTool.h" />
        <source-file src="src/ios/SSCiflyTool.m" />
        <header-file src="src/ios/IFLYDialogView.h" />
        <source-file src="src/ios/IFLYDialogView.m" />
        <header-file src="src/ios/IATConfig.h" />
        <source-file src="src/ios/IATConfig.m" />
        <header-file src="src/ios/ISRDataHelper.h" />
        <source-file src="src/ios/ISRDataHelper.m" />
        
        <!-- 讯飞的库 -->
        <framework src="src/ios/iflyMSC.framework" custom="true"/>

        <!-- 下面注释两行和国信插件冲突，如果不安装国信插件，需要将注释打开 -->
        <framework src="src/ios/MBProgressHUD.framework" custom="true" />
        <framework src="AVFoundation.framework" />
        <framework src="Contacts.framework" />
        <framework src="AddressBook.framework" />
        <framework src="CoreTelephony.framework" />
        <framework src="SystemConfiguration.framework" />
        <framework src="libz.tbd" />
<!--        <framework src="UIKit.framework" />-->
        <framework src="Foundation.framework" />
        
        <!--自定义图片-->
        <resource-file src="src/ios/photos/ifly_cancel.png"/>
        <resource-file src="src/ios/photos/ifly_record1.png"/>
        <resource-file src="src/ios/photos/ifly_record2.png"/>
        <resource-file src="src/ios/photos/ifly_record3.png"/>
        <resource-file src="src/ios/photos/ifly_record4.png"/>
        <resource-file src="src/ios/photos/ifly_record5.png"/>
        <resource-file src="src/ios/photos/ifly_record6.png"/>
        <resource-file src="src/ios/photos/ifly_record7.png"/>
        
    </platform>

</plugin>
