forked from intel/cordova-plugin-intel-xdk-device
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
113 lines (91 loc) · 4.14 KB
/
plugin.xml
File metadata and controls
113 lines (91 loc) · 4.14 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions
and limitations under the License
-->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="intel.xdk.device"
version="3.0.1">
<name>Intel XDK Device</name>
<description>Intel XDK Device Plugin</description>
<license>Apache 2.0</license>
<keywords>Intel XDK, intel.xdk, device</keywords>
<repo>https://github.com/01org/cordova-plugin-intel-xdk-device.git</repo>
<issue></issue>
<js-module src="www/device.js" name="device">
<merges target="intel.xdk.device" />
</js-module>
<js-module src="www/RemoteDataParameters.js" name="device-RemoteDataParameters">
<merges target="intel.xdk.device"/>
</js-module>
<!-- android -->
<platform name="android">
<js-module src="www/android/device.js" name="android-device">
<merges target="intel.xdk.device" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="IntelXDKDevice" >
<param name="android-package" value="com.intel.xdk.device.Device"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<supports-screens
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"
/>
<uses-feature android:name="android.hardware.screen.portrait" android:required="false" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<source-file src="src/android/Device.java" target-dir="src/com/intel/xdk/device" />
<source-file src="src/android/remote_close.png" target-dir="res/drawable-xhdpi"/>
</platform>
<!-- Windows -->
<platform name="windows">
<js-module src="src/windows8/deviceProxy.js" name="deviceProxy">
<clobbers target=""></clobbers>
</js-module>
<source-file src="src/windows8/remote_close.png" />
</platform>
<!-- Windows8 -->
<platform name="windows8">
<js-module src="src/windows8/deviceProxy.js" name="deviceProxy">
<clobbers target=""></clobbers>
</js-module>
<source-file src="src/windows8/remote_close.png" target-dir="../../img"/>
</platform>
<!-- iOS -->
<platform name="ios">
<js-module src="www/ios/device.js" name="device-ios">
<merges target="intel.xdk.device" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="IntelXDKDevice">
<param name="ios-package" value="XDKDevice" />
</feature>
</config-file>
<!-- Allow iOS6-style programatic status bar hiding in iOS7. -->
<config-file target="*-Info.plist" parent="UIViewControllerBasedStatusBarAppearance">
<false/>
</config-file>
<header-file src="src/ios/XDKDevice.h" />
<source-file src="src/ios/XDKDevice.m" />
<resource-file src="src/ios/remote_close.png" />
<framework src="AVFoundation.framework" />
<framework src="CoreVideo.framework" />
<framework src="MessageUI.framework" />
<framework src="QuartzCore.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="libiconv.dylib" />
</platform>
</plugin>