<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="¥{{appVersionCode}}¥" id="¥{{appBundleId}}¥" ios-CFBundleIdentifier="¥{{appBundleId}}¥" ios-CFBundleVersion="¥{{appVersionCode}}¥" version="¥{{appVersion}}¥" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>¥{{appEnName}}¥</name>
    <description>
        ¥{{appZhName}}¥
    </description>
    <author email="dev@cordova.apache.org" href="http://cordova.io">
        Apache Cordova Team
    </author>
    <content src="¥{{appUrl}}¥"/>
    
    <access origin="*"/>
    <allow-navigation href="https://*/*"/>
    <allow-navigation href="http://*/*"/>
    <allow-intent href="http://*/*"/>
    <allow-intent href="https://*/*"/>
    <allow-intent href="tel:*"/>
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <platform name="android">
        <name>¥{{appZhName}}¥</name>
        <allow-intent href="market:*" />
        <preference name="AndroidLaunchMode" value="singleTop" />
        <preference name="android-minSdkVersion" value="19" />
        <icon density="ldpi" src="icon-splash/android/icons/icon-ldpi.png" />
        <icon density="mdpi" src="icon-splash/android/icons/icon-mdpi.png" />
        <icon density="hdpi" src="icon-splash/android/icons/icon-hdpi.png" />
        <icon density="xhdpi" src="icon-splash/android/icons/icon-xhdpi.png" />
        <icon density="xxhdpi" src="icon-splash/android/icons/icon-xxhdpi.png" />
        <icon density="xxxhdpi" src="icon-splash/android/icons/icon-xxxhdpi.png" />
        <splash density="land-hdpi" src="icon-splash/android/splashes/splash-land-hdpi.png" />
        <splash density="land-ldpi" src="icon-splash/android/splashes/splash-land-ldpi.png" />
        <splash density="land-mdpi" src="icon-splash/android/splashes/splash-land-mdpi.png" />
        <splash density="land-xhdpi" src="icon-splash/android/splashes/splash-land-xhdpi.png" />
        <splash density="port-hdpi" src="icon-splash/android/splashes/splash-port-hdpi.png" />
        <splash density="port-ldpi" src="icon-splash/android/splashes/splash-port-ldpi.png" />
        <splash density="port-mdpi" src="icon-splash/android/splashes/splash-port-mdpi.png" />
        <splash density="port-xhdpi" src="icon-splash/android/splashes/splash-port-xhdpi.png" />
        <config-file parent="/manifest" target="AndroidManifest.xml" xmlns:android="http://schemas.android.com/apk/res/android">
            <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
            <uses-permission android:name="android.permission.CAMERA" />
            <uses-permission android:name="android.permission.FLASHLIGHT" />
            <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEM" />
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
        </config-file>
    </platform>
    <platform name="ios">
        <edit-config file="*-Info.plist" mode="merge" target="NSLocationAlwaysUsageDescription">
            <string>需要位置访问找到附近的东西</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
            <string>开启定位功能,耗电</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="CFBundleDisplayName">
            <string>¥{{appZhName}}¥</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="UIBackgroundModes">
            <array>
                <string>location</string>
            </array>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="TX_sdkBusiId">
            <string>14983</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="CFBundleDevelopmentRegion">
            <string>zh_CN</string>
        </edit-config>
        <allow-intent href="itms-services://*/*" />
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <icon height="180" src="icon-splash/ios/icons/icon-60@3x.png" width="180" />
        <icon height="60" src="icon-splash/ios/icons/icon-60.png" width="60" />
        <icon height="120" src="icon-splash/ios/icons/icon-60@2x.png" width="120" />
        <icon height="76" src="icon-splash/ios/icons/icon-76.png" width="76" />
        <icon height="152" src="icon-splash/ios/icons/icon-76@2x.png" width="152" />
        <icon height="40" src="icon-splash/ios/icons/icon-40.png" width="40" />
        <icon height="80" src="icon-splash/ios/icons/icon-40@2x.png" width="80" />
        <icon height="57" src="icon-splash/ios/icons/icon.png" width="57" />
        <icon height="114" src="icon-splash/ios/icons/icon@2x.png" width="114" />
        <icon height="72" src="icon-splash/ios/icons/icon-72.png" width="72" />
        <icon height="144" src="icon-splash/ios/icons/icon-72@2x.png" width="144" />
        <icon height="29" src="icon-splash/ios/icons/icon-small.png" width="29" />
        <icon height="58" src="icon-splash/ios/icons/icon-small@2x.png" width="58" />
        <icon height="87" src="icon-splash/ios/icons/icon-small@3x.png" width="87" />
        <icon height="50" src="icon-splash/ios/icons/icon-50.png" width="50" />
        <icon height="100" src="icon-splash/ios/icons/icon-50@2x.png" width="100" />
        <splash height="480" src="icon-splash/ios/splashes/Default~iphone.png" width="320" />
        <splash height="960" src="icon-splash/ios/splashes/Default@2x~iphone.png" width="640" />
        <splash height="1024" src="icon-splash/ios/splashes/Default-Portrait~ipad.png" width="768" />
        <splash height="2048" src="icon-splash/ios/splashes/Default-Portrait@2x~ipad.png" width="1536" />
        <splash height="768" src="icon-splash/ios/splashes/Default-Landscape~ipad.png" width="1024" />
        <splash height="1536" src="icon-splash/ios/splashes/Default-Landscape@2x~ipad.png" width="2048" />
        <splash height="1136" src="icon-splash/ios/splashes/Default-568h@2x~iphone.png" width="640" />
        <splash height="1334" src="icon-splash/ios/splashes/Default-667h.png" width="750" />
        <splash height="2208" src="icon-splash/ios/splashes/Default-736h.png" width="1242" />
        <splash height="1242" src="icon-splash/ios/splashes/Default-Landscape-736h.png" width="2208" />
        <splash height="1125" src="icon-splash/ios/splashes/Default-Landscape-2436h.png" width="2436" />
        <splash height="2436" src="icon-splash/ios/splashes/Default-2436h.png" width="1125" />
        <splash src="icon-splash/ios/splashes/Default@2x~universal~anyany.png" />
        <preference name="pods_ios_min_version" value="9.0"/>
        <preference name="pods_use_frameworks" value="true"/>
        <pod name="TXIMSDK_iOS"/>
        <pod name="SSZipArchive"/>

    </platform>
    <preference name="Fullscreen" value="false" />
    <preference name="StatusBarOverlaysWebView" value="true" />
    <preference name="StatusBarBackgroundColor" value="#2484E8" />
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="3000" />
    <preference name="FadeSplashScreen" value="false"/>
    <preference name="WebViewBounce" value="false" />
    <preference name="DisallowOverscroll" value="true" />
    <preference name="orientation" value="portrait" />
    <preference name="EnableViewportScale" value="true" />
    <preference name="MediaPlaybackAllowsAirPlay" value="false" />
    <preference name="MediaPlaybackRequiresUserAction" value="true" />
    <preference name="AllowInlineMediaPlayback" value="true" />
    <preference name="BackupWebStorage" value="local" />
    <preference name="TopActivityIndicator" value="white" />
    <preference name="SuppressesIncrementalRendering" value="true" />
    <preference name="InterceptRemoteRequests" value="all" />
    <preference name="AppendUserAgent" value="Eapp/2.0.0" />
    <feature name="CDVWKWebViewEngine">
        <param name="ios-package" value="CDVUIWebViewEngine"/>
    </feature>
    <preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine"/>
    <preference name="Allow3DTouchLinkPreview" value="false"/>
    <preference name="AllowBackForwardNavigationGestures" value="true"/>
    <plugin name="cordova-plugin-wkwebview-engine"/>

    <plugin name="cordova-plugin-whitelist" spec="1" />
    <plugin name="cordova-plugin-device" spec="~2.0.2" />
    <plugin name="cordova-plugin-ios-camera-permissions" spec="~1.2.0" />
    <plugin name="cordova-plugin-splashscreen" spec="~5.0.2" />
    <plugin name="cordova-plugin-inappbrowser" spec="~3.0.0" />
    <plugin name="cordova-plugin-file-transfer" spec="~1.7.1" />
    <plugin name="cordova-plugin-file-opener2" spec="^2.1.4">
        <variable name="ANDROID_SUPPORT_V4_VERSION" value="27.+" />
    </plugin>
    <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
    <plugin name="cordova-plugin-file" spec="~6.0.1" />
    <plugin name="cordova-plugin-advanced-http" spec="^2.1.1">
        <variable name="OKHTTP_VERSION" value="3.10.0" />
    </plugin>
    <plugin name="cordova-plugin-xunfeiListenSpeaking" spec="https://github.com/hahalinjiang/cordova-plugin-IFlyspeech" />
    <plugin name="cordova-plugin-baidumaplocation" spec="^4.0.2">
        <variable name="ANDROID_KEY" value="Qujp4TniOYqEZa2gV1tV3wPdZRG7f5UW" />
        <variable name="IOS_KEY" value="dLQSw3ZpPr26pGRsaf7GsWIZLKcfooSz" />
        <variable name="IOS_LOCATION_DESC" value="请点击'好'以允许访问。" />
    </plugin>
    <engine name="android" spec="^7.0.0" />
</widget>
