forked from becvert/cordova-plugin-device-name
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
50 lines (45 loc) · 1.87 KB
/
plugin.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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="@share911/cordova-plugin-device-name"
version="1.3.6">
<name>Device-Name</name>
<description>Cordova Device Name Plugin</description>
<author>Sylvain Bréjeon</author>
<keywords>cordova,device,name</keywords>
<license>MIT</license>
<!-- android -->
<platform name="android">
<js-module src="www/device-name.js" name="DeviceName">
<clobbers target="cordova.plugins.deviceName" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="DeviceName" >
<param name="android-package" value="net.becvert.cordova.DeviceName"/>
</feature>
</config-file>
<source-file src="src/android/net/becvert/cordova/DeviceName.java" target-dir="src/net/becvert/cordova" />
</platform>
<!-- ios -->
<platform name="ios">
<js-module src="www/device-name.js" name="DeviceName">
<clobbers target="cordova.plugins.deviceName" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="DeviceName">
<param name="ios-package" value="CDVDeviceName"/>
</feature>
</config-file>
<header-file src="src/ios/CDVDeviceName.h" />
<source-file src="src/ios/CDVDeviceName.m" />
</platform>
<!-- Windows universal apps (Windows 10, Windows 8.1, Windows Phone 8.1) -->
<platform name="windows">
<js-module src="www/device-name.js" name="DeviceName">
<clobbers target="cordova.plugins.deviceName" />
</js-module>
<js-module src="src/windows/DeviceNameProxy.js" name="DeviceNameProxy">
<runs />
</js-module>
</platform>
</plugin>