Browse Source

aggiornata a platform android 6.3 con cordova 7

ignifugo 6 years ago
parent
commit
eff4fa027a
1 changed files with 25 additions and 17 deletions
  1. 25 17
      config.xml

+ 25 - 17
config.xml

@@ -8,12 +8,10 @@
             hacklabbo.indivia.net
         </author>
     <content src="index.html" />
-
-    <preference name = "SplashScreen" value = "res/splashscreen.png" />
+    <preference name="SplashScreen" value="res/splashscreen.png" />
     <preference name="SplashScreenDelay" value="3000" />
     <preference name="AutoHideSplashScreen" value="false" />
     <preference name="AndroidPersistentFileLocation" value="Compatibility" />
-    <plugin name="cordova-plugin-whitelist" spec="1" />
     <access origin="*" />
     <allow-intent href="http://*/*" />
     <allow-intent href="https://*/*" />
@@ -22,27 +20,37 @@
     <allow-intent href="mailto:*" />
     <allow-intent href="geo:*" />
     <platform name="android">
-        <allow-intent href = "market:*" />
-        <icon src = "res/icon.png" />
+        <allow-intent href="market:*" />
+        <icon src="res/icon.png" />
         <preference name="AndroidPersistentFileLocation" value="Compatibility" />
-        <preference name = "SplashScreen" value = "res/splashscreen.png" />
-        <splash src = "res/splashscreen.png" />
-        <preference name = "AutoHideSplashScreen" value="false" />
-        <preference name = "SplashScreen" value = "splashscreen" />
-        <preference name = "SplashScreenDelay" value="3000" />
-        <preference name = "SplashMaintainAspectRatio" value="true" />
-        <preference name = "SplashShowOnlyFirstTime" value="false" />
+        <preference name="SplashScreen" value="res/splashscreen.png" />
+        <splash src="res/splashscreen.png" />
+        <preference name="AutoHideSplashScreen" value="false" />
+        <preference name="SplashScreen" value="splashscreen" />
+        <preference name="SplashScreenDelay" value="3000" />
+        <preference name="SplashMaintainAspectRatio" value="true" />
+        <preference name="SplashShowOnlyFirstTime" value="false" />
     </platform>
     <platform name="ios">
         <allow-intent href="itms:*" />
         <allow-intent href="itms-apps:*" />
     </platform>
+    <engine name="android" spec="^6.3.0" />
+    <plugin name="cordova-plugin-compat" spec="~1.1.0" />
+    <plugin name="cordova-plugin-file" spec="~4.3.3" />
+    <plugin name="cordova-plugin-media" spec="~3.0.1" />
+    <plugin name="cordova-plugin-network-information" spec="~1.3.3">
+        <variable name="SENDER_ID" value="667898382143" />
+    </plugin>
+    <plugin name="cordova-plugin-splashscreen" spec="~4.0.3">
+        <variable name="SENDER_ID" value="667898382143" />
+    </plugin>
+    <plugin name="cordova-plugin-whitelist" spec="~1.3.2" />
+    <plugin name="cordova-plugin-x-socialsharing" spec="~5.1.8">
+        <variable name="SENDER_ID" value="667898382143" />
+    </plugin>
+    <plugin name="cordova-sqlite-storage" spec="~2.0.4" />
     <plugin name="phonegap-plugin-push" spec="~1.9.4">
         <variable name="SENDER_ID" value="667898382143" />
     </plugin>
-
-    <plugin name="cordova-sqlite-storage" spec="~2.0.2" />
-    <plugin name="cordova-plugin-media" spec="~3.0.0" />
-    <plugin name="cordova-plugin-splashscreen" />
-    
 </widget>