<?xml version="1.0" encoding="utf-8"?>
<widget id="net.forwardfire.spa.loader" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>FFSpaLoaderExample</name>
    <description>
        A sample FFSpaLoader example application.
    </description>
    <author email="ffspaloader.example.2016@forwardfire.net" href="http://forwardfire.net">
        FFSpaLoaderExample
    </author>
    <content src="index.html" />
    <plugin name="cordova-plugin-whitelist" spec="1" />
    <plugin name="cordova-sqlite-storage" spec="1" />
    <access origin="*" />
    <icon src="www/img/ic_launcher_mdpi.png"  />
	<icon src="www/img/ic_launcher_mdpi.png"  platform="android" density="ldpi" />
	<icon src="www/img/ic_launcher_mdpi.png"  platform="android" density="mdpi" />
	<icon src="www/img/ic_launcher_hdpi.png"  platform="android" density="hdpi" />
	<icon src="www/img/ic_launcher_xhdpi.png" platform="android" density="xhdpi" />
    <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">
        <allow-intent href="market:*" />
        <!-- Build for lowest version of cordova 5.x -->
        <preference name="android-minSdkVersion" value="14" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <!-- disable backup to ICloud of db file -->
        <preference name="BackupWebStorage" value="none"/>
    </platform>
	<hook type="before_build" src="scripts/copy-ff-spa-loader-js.js" />
	<hook type="before_build" src="scripts/copy-ff-spa-loader-css.js" />
	<hook type="after_build" src="scripts/rename-android-apk.js" />
</widget>