ekonstantinidis/trevor

View on GitHub
config.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.iamemmanouil.trevor" version="1.8.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Trevor</name>
    <description>Continuous Integration on the go</description>
    <author email="manos@iamemmanouil.com" href="http://www.iamemmanouil.com/">Emmanouil Konstantinidis</author>
    <content src="index.html"/>
    <access origin="*"/>

    <!-- Preferences -->
    <preference name="webviewbounce" value="false"/>
    <preference name="UIWebViewBounce" value="false"/>
    <preference name="DisallowOverscroll" value="true"/>
    <preference name="BackupWebStorage" value="none"/>

    <!-- Override User Agent -->
    <preference name="OverrideUserAgent" value="Trevor/1.8.0" />

    <!-- Splash Screens -->
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="10000" />
    <preference name="AutoHideSplashScreen" value="false" />
    <preference name="ShowSplashScreenSpinner" value="false" />

    <!-- Allow requests to the API servers -->
    <access origin="https://github.com/*" />
    <access origin="https://api.travis-ci.org/*" />
    <access origin="https://api.travis-ci.com/*" />

    <!-- iOS App Icons & Splash Screens -->
    <platform name="ios">
        <!-- iPhone / iPod Touch  -->
        <icon src="resources/icons/ios/Icon-60.png" width="60" height="60" />
        <icon src="resources/icons/ios/Icon-60@2x.png" width="120" height="120" />
        <icon src="resources/icons/ios/Icon-60@3x.png" width="180" height="180" />
        <!-- iPad -->
        <icon src="resources/icons/ios/Icon-76.png" width="76" height="76" />
        <icon src="resources/icons/ios/Icon-76@2x.png" width="152" height="152" />
        <!-- iOS 6.1 -->
        <!-- Spotlight Icon -->
        <icon src="resources/icons/ios/Icon-Small-40.png" width="40" height="40" />
        <icon src="resources/icons/ios/Icon-Small-40@2x.png" width="80" height="80" />
        <icon src="resources/icons/ios/Icon-Small-40@3x.png" width="120" height="120" />
        <!-- iPhone / iPod Touch -->
        <icon src="resources/icons/ios/Icon.png" width="57" height="57" />
        <icon src="resources/icons/ios/Icon@2x.png" width="114" height="114" />
        <!-- iPad -->
        <icon src="resources/icons/ios/Icon-72.png" width="72" height="72" />
        <icon src="resources/icons/ios/Icon-72@2x.png" width="144" height="144" />
        <!-- iPhone Spotlight and Settings Icon -->
        <icon src="resources/icons/ios/Icon-Small.png" width="29" height="29" />
        <icon src="resources/icons/ios/Icon-Small@2x.png" width="58" height="58" />
        <icon src="resources/icons/ios/Icon-Small@3x.png" width="87" height="87" />
        <!-- iPad Spotlight and Settings Icon -->
        <icon src="resources/icons/ios/Icon-Small-50.png" width="50" height="50" />
        <icon src="resources/icons/ios/Icon-Small-50@2x.png" width="100" height="100" />

        <splash src="resources/screen/ios/Default-portrait~iphone.png" width="320" height="480"/>
        <splash src="resources/screen/ios/Default-portrait@2x~iphone4.png" width="640" height="960"/>
        <splash src="resources/screen/ios/Default-Portrait~ipad.png" width="768" height="1024"/>
        <splash src="resources/screen/ios/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
        <splash src="resources/screen/ios/Default-Landscape~ipad.png" width="1024" height="768"/>
        <splash src="resources/screen/ios/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
        <splash src="resources/screen/ios/Default-portrait@2x~iphone5.png" width="640" height="1136"/>
        <splash src="resources/screen/ios/Default-portrait@2x~iphone6.png" width="750" height="1334"/>
        <splash src="resources/screen/ios/Default-736h.png" width="1242" height="2208"/>
        <splash src="resources/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>
    </platform>

    <!-- Android App Icons & Splash Screens -->
    <platform name="android">
        <icon src="resources/icons/android/36.png" density="ldpi" />
        <icon src="resources/icons/android/48.png" density="mdpi" />
        <icon src="resources/icons/android/72.png" density="hdpi" />
        <icon src="resources/icons/android/96.png" density="xhdpi" />
        <icon src="resources/icons/android/144.png" density="xxhdpi" />
        <icon src="resources/icons/android/192.png" density="xxxhdpi" />

        <splash src="resources/screen/android/splash-land-hdpi.png" density="land-hdpi"/>
        <splash src="resources/screen/android/splash-land-ldpi.png" density="land-ldpi"/>
        <splash src="resources/screen/android/splash-land-mdpi.png" density="land-mdpi"/>
        <splash src="resources/screen/android/splash-land-xhdpi.png" density="land-xhdpi"/>

        <splash src="resources/screen/android/splash-port-hdpi.png" density="port-hdpi"/>
        <splash src="resources/screen/android/splash-port-ldpi.png" density="port-ldpi"/>
        <splash src="resources/screen/android/splash-port-mdpi.png" density="port-mdpi"/>
        <splash src="resources/screen/android/splash-port-xhdpi.png" density="port-xhdpi"/>
    </platform>

    <feature name="StatusBar">
        <param name="ios-package" value="CDVStatusBar" onload="true"/>
    </feature>
</widget>