forked from xmnboy/intelxdk-config-xml-for-cordova-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
intelxdk.config.xml
138 lines (114 loc) · 7.72 KB
/
intelxdk.config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version='1.0' encoding='UTF-8'?>
<widget
xmlns="http://www.w3.org/ns/widgets"
xmlns:intelxdk="http://xdk.intel.com/ns/v1"
id="com.yourcompany.appname"
version="1.0"
versionCode="100" >
<name>appname</name>
<description>Description of App</description>
<author>your name</author>
<content src="index.html" />
<access origin="*" />
<!-- global configuration -->
<preference name="Fullscreen" value="false" />
<preference name="Orientation" value="default" />
<!-- iOS -->
<!-- iOS specific configuration -->
<preference name="ios-target" value="7" />
<preference name="exit-on-suspend" value="false" />
<preference name="DisallowOverscroll" value="false"/>
<preference name="HideKeyboardFormAccessoryBar" value="false"/>
<preference name="ios-configuration" value="adhoc" />
<intelxdk:provisioning intelxdk:src="prov/some_name.mobileprovision" intelxdk:type="adhoc" />
<!-- iOS icons iPhone -->
<icon platform="ios" src="assets/icon-60.png" height="60" width="60" />
<icon platform="ios" src="assets/icon-120.png" height="120" width="120" />
<icon platform="ios" src="assets/icon-57.png" height="57" width="57" />
<icon platform="ios" src="assets/icon-114.png" height="114" width="114" />
<!-- iOS icons iPad -->
<icon platform="ios" src="assets/icon-76.png" height="76" width="76" />
<icon platform="ios" src="assets/icon-152.png" height="152" width="152" />
<icon platform="ios" src="assets/icon-72.png" height="72" width="72" />
<icon platform="ios" src="assets/icon-144.png" height="144" width="144" />
<!-- iOS splash screens iPhone -->
<splash platform="ios" src="assets/splash-320x480.png" width="320" height="480" />
<splash platform="ios" src="assets/splash-640x960.png" width="640" height="960" />
<splash platform="ios" src="assets/splash-640x1136.png" width="640" height="1136" />
<!-- iOS splash screens iPad -->
<splash platform="ios" src="assets/splash-768x1004.png" width="768" height="1004" />
<splash platform="ios" src="assets/splash-1536x2008.png" width="1536" height="2008" />
<splash platform="ios" src="assets/splash-1024x748.png" width="1024" height="748" />
<splash platform="ios" src="assets/splash-2048x1496.png" width="2048" height="1496" />
<!-- Android -->
<!-- Android specific configuration -->
<preference name="DisallowOverscroll" value="false"/>
<preference name="BackgroundColor" value="0xff0000ff"/>
<preference name="android-minSdkVersion" value="8" />
<preference name="android-maxSdkVersion" value="17" />
<preference name="android-targetSdkVersion" value="17" />
<preference name="android-permission" value="GET_TASKS" />
<preference name="android-permission" value="VIBRATE" />
<preference name="android-signed" value="true" />
<!--
<preference name="android-installLocation" value="<LOCATION>" />
<preference name="android-windowSoftInputMode" value="<INPUTMODE>" />
-->
<!-- Android icons -->
<icon platform="android" src="assets/icon-ldpi.png" density="ldpi" width="36" height="36" />
<icon platform="android" src="assets/icon-mdpi.png" density="mdpi" width="48" height="48" />
<icon platform="android" src="assets/icon-hdpi.png" density="hdpi" width="72" height="72" />
<icon platform="android" src="assets/icon-lxhdpi.png" density="xhdpi" width="96" height="96" />
<!-- Android splash screens -->
<splash platform="android" src="assets/splash-ldpi.png" density="ldpi" width="320" height="426" />
<splash platform="android" src="assets/splash-mdpi.png" density="mdpi" width="320" height="470" />
<splash platform="android" src="assets/splash-hdpi.png" density="hdpi" width="480" height="640" />
<splash platform="android" src="assets/splash-lxhdpi.png" density="xhdpi" width="720" height="960" />
<!-- Windows Phone 8 -->
<!-- Windows Phone 8 specific configuration -->
<preference name="windows-publisher-id" value="PUBID" />
<preference name="windows-publisher-display-name" value="appname" />
<!-- Windows Phone 8 icons -->
<icon platform="wp8" src="assets/icon-48.png" width="48" height="48" />
<icon platform="wp8" src="assets/icon-62-tile.png" width="62" height="62" />
<icon platform="wp8" src="assets/icon-173-tile.png" width="173" height="173" />
<!-- Windows Phone 8 splash screens -->
<splash platform="wp8" src="assets/screen-portrait.jpg" />
<!-- Plugins -->
<!-- Core Cordova Plugins -->
<!-- include only those your app requires to eliminate unnecessary app permissions -->
<!-- to avoid duplication between Intel XDK plugins and Cordova plugins, use whichever works best for your app -->
<intelxdk:plugin intelxdk:name="Accelerometer" intelxdk:value="org.apache.cordova.device-motion" />
<intelxdk:plugin intelxdk:name="Battery Status" intelxdk:value="org.apache.cordova.battery-status" />
<intelxdk:plugin intelxdk:name="Camera" intelxdk:value="org.apache.cordova.camera" />
<intelxdk:plugin intelxdk:name="Capture" intelxdk:value="org.apache.cordova.media-capture" />
<intelxdk:plugin intelxdk:name="Compass" intelxdk:value="org.apache.cordova.device-orientation" />
<intelxdk:plugin intelxdk:name="Connection" intelxdk:value="org.apache.cordova.network-information" />
<intelxdk:plugin intelxdk:name="Contacts" intelxdk:value="org.apache.cordova.contacts" />
<intelxdk:plugin intelxdk:name="Device" intelxdk:value="org.apache.cordova.device" />
<intelxdk:plugin intelxdk:name="File" intelxdk:value="org.apache.cordova.file" />
<intelxdk:plugin intelxdk:name="Geolocation" intelxdk:value="org.apache.cordova.geolocation" />
<intelxdk:plugin intelxdk:name="Globalization" intelxdk:value="org.apache.cordova.globalization" />
<intelxdk:plugin intelxdk:name="In App Browser" intelxdk:value="org.apache.cordova.inappbrowser" intelxdk:version="0.3.0" />
<intelxdk:plugin intelxdk:name="Media" intelxdk:value="org.apache.cordova.media" />
<intelxdk:plugin intelxdk:name="Dialogs" intelxdk:value="org.apache.cordova.dialogs" />
<intelxdk:plugin intelxdk:name="Vibration" intelxdk:value="org.apache.cordova.vibration" />
<intelxdk:plugin intelxdk:name="Splash Screen" intelxdk:value="org.apache.cordova.splashscreen" />
<!-- Intel XDK API Plugins -->
<!-- include only those your app requires to eliminate unnecessary app permissions -->
<!-- to avoid duplication between Intel XDK plugins and Cordova plugins, use whichever works best for your app -->
<intelxdk:plugin intelxdk:name="Base" intelxdk:value="intel.xdk.base" />
<intelxdk:plugin intelxdk:name="Acceleration" intelxdk:value="intel.xdk.acceleration" />
<intelxdk:plugin intelxdk:name="Audio" intelxdk:value="intel.xdk.audio" />
<intelxdk:plugin intelxdk:name="Cache" intelxdk:value="intel.xdk.cache" />
<intelxdk:plugin intelxdk:name="Camera" intelxdk:value="intel.xdk.camera" />
<intelxdk:plugin intelxdk:name="Contacts" intelxdk:value="intel.xdk.contacts" />
<intelxdk:plugin intelxdk:name="Facebook" intelxdk:value="intel.xdk.facebook" >
<intelxdk:param intelxdk:name="FBAPPID" intelxdk:value="123###abc###456" />
</intelxdk:plugin>
<intelxdk:plugin intelxdk:name="File" intelxdk:value="intel.xdk.file" />
<intelxdk:plugin intelxdk:name="Geolocation" intelxdk:value="intel.xdk.geolocation" />
<intelxdk:plugin intelxdk:name="Notification" intelxdk:value="intel.xdk.notification" />
<intelxdk:plugin intelxdk:name="Player" intelxdk:value="intel.xdk.player" />
<!-- 3rd-party Cordova Plugins (compatible with Cordova 3.x) -->
</widget>