<?xml version='1.0' encoding='utf-8'?>
<widget id="<$= appPackage $>" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name><$= appName $></name>
    <description></description>
    <content src="index.html" />
    <access origin="*" />

    <hook type="before_platform_add" src="../node_modules/maji/cordova/hooks/before_platform_add.js" />

    <engine name="android" spec="^7.0.0" />
    <engine name="ios" spec="^4.5.4" />

    <preference name="DisallowOverscroll" value="true"/>
    <preference name="Orientation" value="portrait" />
    <preference name="KeyboardDisplayRequiresUserAction" value="false" />

    <!-- allows programmatic focus() calls to trigger the keyboard on iOS -->
    <preference name="KeyboardDisplayRequiresUserAction" value="false" />

    <preference name="SplashScreen" value="splash" />
    <preference name="SplashScreenDelay" value="0" />

    <!-- target Android SDK versions //-->
    <preference name="android-minSdkVersion" value="21" />
    <preference name="android-targetSdkVersion" value="24" />

    <!-- disable icloud storage sync -->
    <preference name="BackupWebStorage" value="local"/>

    <!-- allow all external communication by default -->
    <allow-navigation href="*" />

    <plugin name="cordova-plugin-networkactivityindicator" spec="~0.1.1" />
    <plugin name="cordova-plugin-splashscreen" spec="~4.0.0"/>
    <plugin name="cordova-plugin-whitelist" spec="~1.3.0"/>
</widget>
