Browse Source

Add globalization plugin

Skylar Ittner 2 years ago
parent
commit
0239ce9f89
2 changed files with 76 additions and 74 deletions
  1. 74
    73
      config.xml
  2. 2
    1
      nbproject/plugins.properties

+ 74
- 73
config.xml View File

@@ -1,5 +1,5 @@
1
-<?xml version='1.0' encoding='utf-8'?>
2
-<widget android-versionCode="106020" id="com.netsyms.terranquest.TerranQuest" version="1.6.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0">
1
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0" android-versionCode="106020" id="com.netsyms.terranquest.TerranQuest" version="1.6.2">
3 3
     <name>TerranQuest</name>
4 4
     <description>
5 5
         Augmented Reality fantasy game
@@ -7,83 +7,84 @@
7 7
     <author email="admin@netsyms.com" href="https://netsyms.com">
8 8
         Netsyms Technologies
9 9
     </author>
10
-    <icon src="res/icon.png" />
11
-    <preference name="SplashScreen" value="res/splash.9.png" />
12
-    <preference name="FadeSplashScreen" value="true" />
13
-    <preference name="FadeSplashScreenDuration" value="1000" />
14
-    <preference name="SplashScreenDelay" value="0" />
15
-    <preference name="SplashMaintainAspectRatio" value="false" />
16
-    <preference name="SplashShowOnlyFirstTime" value="true" />
17
-    <preference name="AutoHideSplashScreen" value="false" />
10
+    <icon src="res/icon.png"/>
11
+    <preference name="SplashScreen" value="res/splash.9.png"/>
12
+    <preference name="FadeSplashScreen" value="true"/>
13
+    <preference name="FadeSplashScreenDuration" value="1000"/>
14
+    <preference name="SplashScreenDelay" value="0"/>
15
+    <preference name="SplashMaintainAspectRatio" value="false"/>
16
+    <preference name="SplashShowOnlyFirstTime" value="true"/>
17
+    <preference name="AutoHideSplashScreen" value="false"/>
18 18
     <platform name="ios">
19
-        <icon height="180" src="res/ios/icon-60@3x.png" width="180" />
20
-        <icon height="60" src="res/ios/icon-60.png" width="60" />
21
-        <icon height="120" src="res/ios/icon-60@2x.png" width="120" />
22
-        <icon height="76" src="res/ios/icon-76.png" width="76" />
23
-        <icon height="152" src="res/ios/icon-76@2x.png" width="152" />
24
-        <icon height="40" src="res/ios/icon-40.png" width="40" />
25
-        <icon height="80" src="res/ios/icon-40@2x.png" width="80" />
26
-        <icon height="57" src="res/ios/icon.png" width="57" />
27
-        <icon height="114" src="res/ios/icon@2x.png" width="114" />
28
-        <icon height="72" src="res/ios/icon-72.png" width="72" />
29
-        <icon height="144" src="res/ios/icon-72@2x.png" width="144" />
30
-        <icon height="29" src="res/ios/icon-small.png" width="29" />
31
-        <icon height="58" src="res/ios/icon-small@2x.png" width="58" />
32
-        <icon height="50" src="res/ios/icon-50.png" width="50" />
33
-        <icon height="100" src="res/ios/icon-50@2x.png" width="100" />
34
-        <icon height="167" src="res/ios/icon-83.5@2x.png" width="167" />
35
-        <splash height="480" src="res/ios/Default~iphone.png" width="320" />
36
-        <splash height="960" src="res/ios/Default@2x~iphone.png" width="640" />
37
-        <splash height="1024" src="res/ios/Default-Portrait~ipad.png" width="768" />
38
-        <splash height="2048" src="res/ios/Default-Portrait@2x~ipad.png" width="1536" />
39
-        <splash height="768" src="res/ios/Default-Landscape~ipad.png" width="1024" />
40
-        <splash height="1536" src="res/ios/Default-Landscape@2x~ipad.png" width="2048" />
41
-        <splash height="1136" src="res/ios/Default-568h@2x~iphone.png" width="640" />
42
-        <splash height="1334" src="res/ios/Default-667h.png" width="750" />
43
-        <splash height="2208" src="res/ios/Default-736h.png" width="1242" />
44
-        <splash height="1242" src="res/ios/Default-Landscape-736h.png" width="2208" />
45
-        <preference name="DisallowOverscroll" value="true" />
46
-        <preference name="KeyboardShrinksView" value="true" />
47
-        <preference name="StatusBarOverlaysWebView" value="false" />
48
-        <preference name="StatusBarStyle" value="blackopaque" />
49
-        <preference name="ShowSplashScreen" value="true" />
19
+        <icon height="180" src="res/ios/icon-60@3x.png" width="180"/>
20
+        <icon height="60" src="res/ios/icon-60.png" width="60"/>
21
+        <icon height="120" src="res/ios/icon-60@2x.png" width="120"/>
22
+        <icon height="76" src="res/ios/icon-76.png" width="76"/>
23
+        <icon height="152" src="res/ios/icon-76@2x.png" width="152"/>
24
+        <icon height="40" src="res/ios/icon-40.png" width="40"/>
25
+        <icon height="80" src="res/ios/icon-40@2x.png" width="80"/>
26
+        <icon height="57" src="res/ios/icon.png" width="57"/>
27
+        <icon height="114" src="res/ios/icon@2x.png" width="114"/>
28
+        <icon height="72" src="res/ios/icon-72.png" width="72"/>
29
+        <icon height="144" src="res/ios/icon-72@2x.png" width="144"/>
30
+        <icon height="29" src="res/ios/icon-small.png" width="29"/>
31
+        <icon height="58" src="res/ios/icon-small@2x.png" width="58"/>
32
+        <icon height="50" src="res/ios/icon-50.png" width="50"/>
33
+        <icon height="100" src="res/ios/icon-50@2x.png" width="100"/>
34
+        <icon height="167" src="res/ios/icon-83.5@2x.png" width="167"/>
35
+        <splash height="480" src="res/ios/Default~iphone.png" width="320"/>
36
+        <splash height="960" src="res/ios/Default@2x~iphone.png" width="640"/>
37
+        <splash height="1024" src="res/ios/Default-Portrait~ipad.png" width="768"/>
38
+        <splash height="2048" src="res/ios/Default-Portrait@2x~ipad.png" width="1536"/>
39
+        <splash height="768" src="res/ios/Default-Landscape~ipad.png" width="1024"/>
40
+        <splash height="1536" src="res/ios/Default-Landscape@2x~ipad.png" width="2048"/>
41
+        <splash height="1136" src="res/ios/Default-568h@2x~iphone.png" width="640"/>
42
+        <splash height="1334" src="res/ios/Default-667h.png" width="750"/>
43
+        <splash height="2208" src="res/ios/Default-736h.png" width="1242"/>
44
+        <splash height="1242" src="res/ios/Default-Landscape-736h.png" width="2208"/>
45
+        <preference name="DisallowOverscroll" value="true"/>
46
+        <preference name="KeyboardShrinksView" value="true"/>
47
+        <preference name="StatusBarOverlaysWebView" value="false"/>
48
+        <preference name="StatusBarStyle" value="blackopaque"/>
49
+        <preference name="ShowSplashScreen" value="true"/>
50 50
     </platform>
51 51
     <platform name="browser">
52
-        <preference name="ShowSplashScreen" value="false" />
52
+        <preference name="ShowSplashScreen" value="false"/>
53 53
     </platform>
54
-    <content src="index.html" />
55
-    <access origin="*" />
56
-    <allow-navigation href="*" />
57
-    <allow-intent href="http://*/*" />
58
-    <allow-intent href="https://*/*" />
59
-    <allow-intent href="tel:*" />
60
-    <allow-intent href="sms:*" />
61
-    <allow-intent href="mailto:*" />
62
-    <allow-intent href="geo:*" />
54
+    <content src="index.html"/>
55
+    <access origin="*"/>
56
+    <allow-navigation href="*"/>
57
+    <allow-intent href="http://*/*"/>
58
+    <allow-intent href="https://*/*"/>
59
+    <allow-intent href="tel:*"/>
60
+    <allow-intent href="sms:*"/>
61
+    <allow-intent href="mailto:*"/>
62
+    <allow-intent href="geo:*"/>
63 63
     <platform name="android">
64
-        <allow-intent href="market:*" />
64
+        <allow-intent href="market:*"/>
65 65
     </platform>
66 66
     <platform name="ios">
67
-        <allow-intent href="itms:*" />
68
-        <allow-intent href="itms-apps:*" />
67
+        <allow-intent href="itms:*"/>
68
+        <allow-intent href="itms-apps:*"/>
69 69
     </platform>
70
-    <plugin name="cordova-plugin-dialogs" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git" />
71
-    <plugin name="cordova-plugin-whitelist" spec="https://github.com/apache/cordova-plugin-whitelist.git" />
72
-    <plugin name="cordova-plugin-console" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git" />
73
-    <plugin name="cordova-plugin-device" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git" />
74
-    <plugin name="cordova-plugin-camera" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git" />
75
-    <plugin name="cordova-plugin-splashscreen" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git" />
76
-    <plugin name="cordova-plugin-network-information" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git" />
77
-    <plugin name="cordova-plugin-media" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git" />
78
-    <plugin name="cordova-plugin-media-capture" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git" />
79
-    <plugin name="cordova-plugin-geolocation" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git" />
80
-    <plugin name="com.phonegap.plugins.barcodescanner" spec="https://github.com/Telerik-Verified-Plugins/BarcodeScanner" />
81
-    <plugin name="cordova-plugin-inapppurchase" spec="~1.0.0" />
82
-    <plugin name="cordova_app_version_plugin" spec="~0.2.6" />
83
-    <plugin name="cordova-plugin-ios-longpress-fix" spec="~1.1.0" />
84
-    <plugin name="cordova-plugin-keyboard" spec="~1.1.4" />
85
-    <engine name="browser" spec="latest" />
86
-    <engine name="android" spec="latest" />
87
-    <engine name="ios" spec="latest" />
88
-    <plugin name="cordova-plugin-statusbar" spec="~2.2.0" />
70
+    <plugin name="cordova-plugin-dialogs" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git"/>
71
+    <plugin name="cordova-plugin-whitelist" spec="https://github.com/apache/cordova-plugin-whitelist.git"/>
72
+    <plugin name="cordova-plugin-console" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git"/>
73
+    <plugin name="cordova-plugin-device" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git"/>
74
+    <plugin name="cordova-plugin-camera" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git"/>
75
+    <plugin name="cordova-plugin-splashscreen" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git"/>
76
+    <plugin name="cordova-plugin-network-information" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git"/>
77
+    <plugin name="cordova-plugin-media" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git"/>
78
+    <plugin name="cordova-plugin-media-capture" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git"/>
79
+    <plugin name="cordova-plugin-geolocation" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git"/>
80
+    <plugin name="com.phonegap.plugins.barcodescanner" spec="https://github.com/Telerik-Verified-Plugins/BarcodeScanner"/>
81
+    <plugin name="cordova-plugin-inapppurchase" spec="~1.0.0"/>
82
+    <plugin name="cordova_app_version_plugin" spec="~0.2.6"/>
83
+    <plugin name="cordova-plugin-ios-longpress-fix" spec="~1.1.0"/>
84
+    <plugin name="cordova-plugin-keyboard" spec="~1.1.4"/>
85
+    <engine name="browser" spec="latest"/>
86
+    <engine name="android" spec="latest"/>
87
+    <engine name="ios" spec="latest"/>
88
+    <plugin name="cordova-plugin-statusbar" spec="~2.2.0"/>
89
+    <plugin name="cordova-plugin-globalization" spec="~1.0.4"/>
89 90
 </widget>

+ 2
- 1
nbproject/plugins.properties View File

@@ -26,4 +26,5 @@ cordova-plugin-file=https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.
26 26
 cordova-plugin-compat=https://git-wip-us.apache.org/repos/asf/cordova-plugin-compat.git
27 27
 cordova-plugin-keyboard=https://github.com/cjpearson/cordova-plugin-keyboard
28 28
 cordova-plugin-statusbar=https://github.com/apache/cordova-plugin-statusbar
29
-cordova-plugin-ios-longpress-fix=https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix
29
+cordova-plugin-ios-longpress-fix=https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix
30
+cordova-plugin-globalization=https://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization.git

Loading…
Cancel
Save