-
Notifications
You must be signed in to change notification settings - Fork 96
/
plugin.xml
71 lines (53 loc) · 2.34 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?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="cordova-plugin-uniquedeviceid"
version="1.3.1">
<name>UniqueDeviceID</name>
<description>
PhoneGap / Cordova unique device id (UUID) plugin for Android, iOS and Windows Phone 8. Remains the same after app uninstall.
</description>
<license>MIT</license>
<keywords>phonegap,cordova,android,ios,wp,Windows,phone,device,id,uuid,unique</keywords>
<js-module src="www/uniqueid.js" name="UniqueDeviceID">
<merges target="window.plugins.uniqueDeviceID" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="UniqueDeviceID">
<param name="android-package" value="hu.dpal.phonegap.plugins.UniqueDeviceID" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file>
<source-file src="src/android/UniqueDeviceID.java" target-dir="src/hu/dpal/phonegap/plugins" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="UniqueDeviceID">
<param name="ios-package" value="CDVUniqueDeviceID" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/UICKeyChainStore.h" />
<source-file src="src/ios/UICKeyChainStore.m" />
<header-file src="src/ios/CDVUniqueDeviceID.h" />
<source-file src="src/ios/CDVUniqueDeviceID.m" />
<framework src="Security.framework" />
</platform>
<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="UniqueDeviceID">
<param name="wp-package" value="UniqueDeviceID"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
</config-file>
<source-file src="src/wp/UniqueDeviceID.cs" />
</platform>
</plugin>