hino / corber / cordova / config.xml
config.xml
Raw
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.hino.newhearts" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Hino Hearts</name>
    <description>
        Hino Hearts Application
    </description>
    <author email="apps@hino.co.id" href="http://cordova.io">
        HINO MOTORS SALES INDONESIA
    </author>
    <content src="index.html"/>
    <access origin="*"/>
    <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="ios">
        <preference name="WKWebViewOnly" value="true"/>
        <preference name="ScrollEnabled" value="true"/>
        <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine"/>
        <preference name="StatusBarOverlaysWebView" value="false"/>
        <preference name="StatusBarBackgroundColor" value="#F01414"/>
        <feature name="CDVWKWebViewEngine">
            <param name="ios-package" value="CDVWKWebViewEngine"/>
        </feature>
        <allow-intent href="itms:*"/>
        <allow-intent href="itms-apps:*"/>
        <icon height="40" id="icon-40" src="res/icon/ios/icon-40.png" width="40"/>
        <icon height="57" id="icon" src="res/icon/ios/icon.png" width="57"/>
        <icon height="80" id="icon-40@2x" src="res/icon/ios/icon-40@2x.png" width="80"/>
        <icon height="120" id="icon-40@3x" src="res/icon/ios/icon-40@3x.png" width="120"/>
        <icon height="60" id="icon-60" src="res/icon/ios/icon-60.png" width="60"/>
        <icon height="120" id="icon-60@2x" src="res/icon/ios/icon-60@2x.png" width="120"/>
        <icon height="180" id="icon-60@3x" src="res/icon/ios/icon-60@3x.png" width="180"/>
        <icon height="114" id="icon@2x" src="res/icon/ios/icon@2x.png" width="114"/>
        <icon height="29" id="icon-small" src="res/icon/ios/icon-small.png" width="29"/>
        <icon height="58" id="icon-small@2x" src="res/icon/ios/icon-small@2x.png" width="58"/>
        <icon height="87" id="icon-small@3x" src="res/icon/ios/icon-small@3x.png" width="87"/>
        <icon height="152" id="icon-76@2x" src="res/icon/ios/icon-76@2x.png" width="152"/>
        <icon height="76" id="icon-76" src="res/icon/ios/icon-76.png" width="76"/>
        <icon height="72" id="icon-72" src="res/icon/ios/icon-72.png" width="72"/>
        <icon height="144" id="icon-72@2x" src="res/icon/ios/icon-72@2x.png" width="144"/>
        <icon height="50" id="icon-50" src="res/icon/ios/icon-50.png" width="50"/>
        <icon height="100" id="icon-50@2x" src="res/icon/ios/icon-50@2x.png" width="100"/>
        <icon height="167" id="icon-83.5@2x" src="res/icon/ios/icon-83.5@2x.png" width="167"/>
        <icon height="120" id="icon-120" src="res/icon/ios/icon-120.png" width="120"/>
        <icon height="240" id="icon-120@2x" src="res/icon/ios/icon-120@2x.png" width="240"/>
        <icon height="152" id="icon-152" src="res/icon/ios/icon-152.png" width="152"/>
        <icon height="304" id="icon-152@2x" src="res/icon/ios/icon-152@2x.png" width="304"/>
        <icon height="20" id="icon-20" src="res/icon/ios/icon-20.png" width="20"/>
        <icon height="48" id="icon-24@2x" src="res/icon/ios/icon-24@2x.png" width="48"/>
        <icon height="55" id="icon-27.5@2x" src="res/icon/ios/icon-27.5@2x.png" width="55"/>
        <icon height="88" id="icon-44@2x" src="res/icon/ios/icon-44@2x.png" width="88"/>
        <icon height="172" id="icon-86@2x" src="res/icon/ios/icon-86@2x.png" width="172"/>
        <icon height="196" id="icon-98@2x" src="res/icon/ios/icon-98@2x.png" width="196"/>
        <icon height="1024" id="icon-1024" src="res/icon/ios/icon-1024.png" width="1024"/>
        <splash height="960" id="640-960" src="res/screen/ios/640-960.png" width="640"/>
        <splash height="640" id="960-640" src="res/screen/ios/960-640.png" width="960"/>
        <splash height="1136" id="640-1136" src="res/screen/ios/640-1136.png" width="640"/>
        <splash height="640" id="1136-640" src="res/screen/ios/1136-640.png" width="1136"/>
        <splash height="1334" id="750-1334" src="res/screen/ios/750-1334.png" width="750"/>
        <splash height="750" id="1334-750" src="res/screen/ios/1334-750.png" width="1334"/>
        <splash height="2208" id="1242-2208" src="res/screen/ios/1242-2208.png" width="1242"/>
        <splash height="1242" id="2208-1242" src="res/screen/ios/2208-1242.png" width="2208"/>
        <splash height="1024" id="768-1024" src="res/screen/ios/768-1024.png" width="768"/>
        <splash height="768" id="1024-768" src="res/screen/ios/1024-768.png" width="1024"/>
        <splash height="2048" id="1536-2048" src="res/screen/ios/1536-2048.png" width="1536"/>
        <splash height="1536" id="2048-1536" src="res/screen/ios/2048-1536.png" width="2048"/>
        <splash height="2732" id="2048-2732" src="res/screen/ios/2048-2732.png" width="2048"/>
        <splash height="2048" id="2732-2048" src="res/screen/ios/2732-2048.png" width="2732"/>
        <splash height="2436" id="1125-2436" src="res/screen/ios/1125-2436.png" width="1125"/>
        <splash height="1125" id="2436-1125" src="res/screen/ios/2436-1125.png" width="2436"/>
    </platform>
    <platform name="android">
        <allow-intent href="market:*"/>
        <preference name="AllowBackForwardNavigationGestures" value="true"/>
        <icon density="ldpi" id="ldpi" src="res/icon/android/ldpi.png"/>
        <icon density="mdpi" id="mdpi" src="res/icon/android/mdpi.png"/>
        <icon density="hdpi" id="hdpi" src="res/icon/android/hdpi.png"/>
        <icon density="xhdpi" id="xhdpi" src="res/icon/android/xhdpi.png"/>
        <icon density="xxhdpi" id="xxhdpi" src="res/icon/android/xxhdpi.png"/>
        <icon density="xxxhdpi" id="xxxhdpi" src="res/icon/android/xxxhdpi.png"/>
        <splash id="ldpi" src="res/screen/android/port-ldpi.png" density="ldpi"/>
        <splash id="mdpi" src="res/screen/android/port-mdpi.png" density="mdpi"/>
        <splash id="hdpi" src="res/screen/android/port-hdpi.png" density="hdpi"/>
        <splash id="xhdpi" src="res/screen/android/port-xhdpi.png" density="xhdpi"/>
        <splash id="xxhdpi" src="res/screen/android/port-xxhdpi.png" density="xxhdpi"/>
        <splash id="xxxhdpi" src="res/screen/android/port-xxxhdpi.png" density="xxxhdpi"/>
        <splash id="port-ldpi" src="res/screen/android/port-ldpi.png" density="port-ldpi"/>
        <splash id="land-ldpi" src="res/screen/android/land-ldpi.png" density="land-ldpi"/>
        <splash id="port-mdpi" src="res/screen/android/port-mdpi.png" density="port-mdpi"/>
        <splash id="land-mdpi" src="res/screen/android/land-mdpi.png" density="land-mdpi"/>
        <splash id="port-hdpi" src="res/screen/android/port-hdpi.png" density="port-hdpi"/>
        <splash id="land-hdpi" src="res/screen/android/land-hdpi.png" density="land-hdpi"/>
        <splash id="port-xhdpi" src="res/screen/android/port-xhdpi.png" density="port-xhdpi"/>
        <splash id="land-xhdpi" src="res/screen/android/land-xhdpi.png" density="land-xhdpi"/>
        <splash id="port-xxhdpi" src="res/screen/android/port-xxhdpi.png" density="port-xxhdpi"/>
        <splash id="land-xxhdpi" src="res/screen/android/land-xxhdpi.png" density="land-xxhdpi"/>
        <splash id="port-xxxhdpi" src="res/screen/android/port-xxxhdpi.png" density="port-xxxhdpi"/>
        <splash id="land-xxxhdpi" src="res/screen/android/land-xxxhdpi.png" density="land-xxxhdpi"/>
        <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
            <application android:usesCleartextTraffic="true"/>
        </edit-config>
    </platform>
    <preference name="AutoHideSplashScreen" value="false"/>
    <preference name="AndroidPersistentFileLocation" value="Internal"/>
    <preference name="AndroidPersistentFileLocation" value="Compatibility"/>
    <preference name="android-targetSdkVersion" value="29"/>
    <preference name="AllowBackForwardNavigationGestures" value="true" />
</widget>