forked from dpa99c/cordova-diagnostic-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·133 lines (112 loc) · 5.78 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
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova.plugins.diagnostic"
version="3.6.5">
<name>Diagnostic</name>
<description>Cordova/Phonegap plugin to check the state of Location/WiFi/Camera/Bluetooth device settings.</description>
<author>Dave Alden</author>
<license>MIT</license>
<keywords>ecosystem:cordova,cordova,phonegap,android,ios,windows,diagnostic,wifi,location,gps,camera,bluetooth,settings</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<repo>https://github.com/dpa99c/cordova-diagnostic-plugin.git</repo>
<issue>https://github.com/dpa99c/cordova-diagnostic-plugin/issues</issue>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic">
<param name="ios-package" value="Diagnostic" />
</feature>
</config-file>
<!-- Default usage descriptions: override as necessary in .plist -->
<config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
<string>This app requires constant access to your location in order to track your position, even when the screen is off.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>This app requires access to your location when the screen is on and the app is displayed.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSCalendarsUsageDescription">
<string>This app requires calendar access to function properly.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>This app requires photo library access to function properly.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription">
<string>This app requires bluetooth access to function properly.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>This app requires microphone access to function properly.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>This app requires camera access to function properly.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSMotionUsageDescription">
<string>This app requires motion detection access to function properly.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSContactsUsageDescription">
<string>This app requires contacts access to function properly.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSRemindersUsageDescription">
<string>This app requires reminders access to function properly.</string>
</config-file>
<js-module src="www/ios/diagnostic.js" name="Diagnostic">
<clobbers target="cordova.plugins.diagnostic" />
</js-module>
<header-file src="src/ios/Diagnostic.h" />
<source-file src="src/ios/Diagnostic.m" />
<framework src="CoreLocation.framework" />
<framework src="CoreBluetooth.framework" />
<framework src="CoreMotion.framework" />
<framework src="AVFoundation.framework" />
<framework src="Photos.framework" />
<framework src="AddressBook.framework" />
<framework src="EventKit.framework" />
<framework src="Contacts.framework" />
<framework src="UserNotifications.framework" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic" >
<param name="android-package" value="cordova.plugins.Diagnostic"/>
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="com.android.support:support-v4:25.+" />
<framework src="com.android.support:appcompat-v7:25.+" />
<js-module src="www/android/diagnostic.js" name="Diagnostic">
<clobbers target="cordova.plugins.diagnostic" />
</js-module>
<source-file src="src/android/Diagnostic.java" target-dir="src/cordova/plugins" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver
android:name="cordova.plugins.Diagnostic$LocationProviderChangedReceiver">
<intent-filter>
<action android:name="android.location.PROVIDERS_CHANGED" />
</intent-filter>
</receiver>
<receiver android:name="cordova.plugins.Diagnostic$NFCStateChangedReceiver">
<intent-filter>
<action android:name="android.nfc.action.ADAPTER_STATE_CHANGED" />
</intent-filter>
</receiver>
</config-file>
</platform>
<!-- windows -->
<platform name="windows">
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic" >
<param name="windows-package" value="cordova.plugins.Diagnostic"/>
</feature>
<preference name="windows-target-version" value="10.0" />
</config-file>
<js-module src="www/windows/diagnostic.js" name="Diagnostic">
<clobbers target="cordova.plugins.diagnostic" />
</js-module>
<js-module src="src/windows/diagnosticProxy.js" name="diagnosticProxy">
<merges target="" />
</js-module>
</platform>
</plugin>