Added splash preferences

This commit is contained in:
Renato Gabriele 2017-03-18 18:55:56 +01:00
parent 14ee570a7b
commit a2e9a76adf

View file

@ -8,8 +8,9 @@
hacklabbo.indivia.net - digitigrafo.it hacklabbo.indivia.net - digitigrafo.it
</author> </author>
<content src="index.html" /> <content src="index.html" />
<preference name = "SplashScreen" value = "res/splashscreen.png" /> <preference name = "SplashScreen" value = "splashscreen" />
<preference name="SplashScreenDelay" value="5000" /> <preference name="SplashScreenDelay" value="10000" />
<preference name="AutoHideSplashScreen" value="false" />
<plugin name="cordova-plugin-whitelist" spec="1" /> <plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" /> <access origin="*" />
<allow-intent href="http://*/*" /> <allow-intent href="http://*/*" />
@ -20,15 +21,17 @@
<allow-intent href="geo:*" /> <allow-intent href="geo:*" />
<platform name="android"> <platform name="android">
<allow-intent href="market:*" /> <allow-intent href="market:*" />
<icon src="res/icon.png" />
<splash src="res/splashscreen.png" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name = "SplashScreen" value = "splashscreen" />
<preference name="SplashScreenDelay" value="10000" />
<preference name="SplashMaintainAspectRatio" value="true" />
</platform> </platform>
<platform name="ios"> <platform name="ios">
<allow-intent href="itms:*" /> <allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" /> <allow-intent href="itms-apps:*" />
</platform> </platform>
<platform name="android">
<icon src="res/icon.png" />
<splash src="res/splashscreen.png" />
</platform>
<plugin name="phonegap-plugin-push" spec="~1.9.4"> <plugin name="phonegap-plugin-push" spec="~1.9.4">
<variable name="SENDER_ID" value="667898382143" /> <variable name="SENDER_ID" value="667898382143" />
</plugin> </plugin>