cordova.plugins.diagnostic 6.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/.github/FUNDING.yml +6 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +123 -0
  3. package/.github/ISSUE_TEMPLATE/documentation-issue.md +36 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +41 -0
  5. package/.github/PULL_REQUEST_TEMPLATE.md +37 -0
  6. package/.github/stale.yml +17 -0
  7. package/CHANGELOG.md +390 -0
  8. package/README.md +3709 -0
  9. package/cordova.plugins.diagnostic.d.ts +1113 -0
  10. package/package.json +54 -0
  11. package/plugin.xml +496 -0
  12. package/scripts/apply-modules.js +165 -0
  13. package/scripts/logger.js +94 -0
  14. package/src/android/Diagnostic.java +856 -0
  15. package/src/android/Diagnostic_Bluetooth.java +297 -0
  16. package/src/android/Diagnostic_Camera.java +134 -0
  17. package/src/android/Diagnostic_External_Storage.java +273 -0
  18. package/src/android/Diagnostic_Location.java +319 -0
  19. package/src/android/Diagnostic_NFC.java +270 -0
  20. package/src/android/Diagnostic_Notifications.java +157 -0
  21. package/src/android/Diagnostic_Wifi.java +155 -0
  22. package/src/ios/Diagnostic.h +56 -0
  23. package/src/ios/Diagnostic.m +282 -0
  24. package/src/ios/Diagnostic_Bluetooth.h +24 -0
  25. package/src/ios/Diagnostic_Bluetooth.m +170 -0
  26. package/src/ios/Diagnostic_Calendar.h +24 -0
  27. package/src/ios/Diagnostic_Calendar.m +94 -0
  28. package/src/ios/Diagnostic_Camera.h +27 -0
  29. package/src/ios/Diagnostic_Camera.m +194 -0
  30. package/src/ios/Diagnostic_Contacts.h +24 -0
  31. package/src/ios/Diagnostic_Contacts.m +93 -0
  32. package/src/ios/Diagnostic_Location.h +31 -0
  33. package/src/ios/Diagnostic_Location.m +284 -0
  34. package/src/ios/Diagnostic_Microphone.h +21 -0
  35. package/src/ios/Diagnostic_Microphone.m +97 -0
  36. package/src/ios/Diagnostic_Motion.h +27 -0
  37. package/src/ios/Diagnostic_Motion.m +143 -0
  38. package/src/ios/Diagnostic_Notifications.h +22 -0
  39. package/src/ios/Diagnostic_Notifications.m +235 -0
  40. package/src/ios/Diagnostic_Reminders.h +24 -0
  41. package/src/ios/Diagnostic_Reminders.m +93 -0
  42. package/src/ios/Diagnostic_Wifi.h +19 -0
  43. package/src/ios/Diagnostic_Wifi.m +108 -0
  44. package/src/windows/diagnosticProxy.bluetooth.js +23 -0
  45. package/src/windows/diagnosticProxy.camera.js +35 -0
  46. package/src/windows/diagnosticProxy.js +137 -0
  47. package/src/windows/diagnosticProxy.location.js +54 -0
  48. package/src/windows/diagnosticProxy.wifi.js +18 -0
  49. package/www/android/diagnostic.bluetooth.js +211 -0
  50. package/www/android/diagnostic.calendar.js +90 -0
  51. package/www/android/diagnostic.camera.js +203 -0
  52. package/www/android/diagnostic.contacts.js +91 -0
  53. package/www/android/diagnostic.external_storage.js +102 -0
  54. package/www/android/diagnostic.js +1309 -0
  55. package/www/android/diagnostic.location.js +282 -0
  56. package/www/android/diagnostic.microphone.js +89 -0
  57. package/www/android/diagnostic.nfc.js +127 -0
  58. package/www/android/diagnostic.notifications.js +74 -0
  59. package/www/android/diagnostic.wifi.js +90 -0
  60. package/www/ios/diagnostic.bluetooth.js +127 -0
  61. package/www/ios/diagnostic.calendar.js +97 -0
  62. package/www/ios/diagnostic.camera.js +212 -0
  63. package/www/ios/diagnostic.contacts.js +98 -0
  64. package/www/ios/diagnostic.js +990 -0
  65. package/www/ios/diagnostic.location.js +236 -0
  66. package/www/ios/diagnostic.microphone.js +99 -0
  67. package/www/ios/diagnostic.motion.js +160 -0
  68. package/www/ios/diagnostic.notifications.js +189 -0
  69. package/www/ios/diagnostic.reminders.js +97 -0
  70. package/www/ios/diagnostic.wifi.js +80 -0
  71. package/www/windows/diagnostic.bluetooth.js +51 -0
  72. package/www/windows/diagnostic.camera.js +41 -0
  73. package/www/windows/diagnostic.js +169 -0
  74. package/www/windows/diagnostic.location.js +35 -0
  75. package/www/windows/diagnostic.wifi.js +51 -0
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "version": "6.0.4",
3
+ "name": "cordova.plugins.diagnostic",
4
+ "cordova_name": "Diagnostic",
5
+ "description": "Cordova/Phonegap plugin to check the state of Location/WiFi/Camera/Bluetooth device settings.",
6
+ "author": "Dave Alden",
7
+ "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/dpa99c/cordova-diagnostic-plugin.git"
11
+ },
12
+ "issue": "https://github.com/dpa99c/cordova-diagnostic-plugin/issues",
13
+ "cordova": {
14
+ "id": "cordova.plugins.diagnostic",
15
+ "platforms": [
16
+ "android",
17
+ "ios",
18
+ "windows"
19
+ ]
20
+ },
21
+ "keywords": [
22
+ "ecosystem:cordova",
23
+ "cordova",
24
+ "android",
25
+ "ios",
26
+ "windows",
27
+ "phonegap",
28
+ "diagnostic",
29
+ "wifi",
30
+ "location",
31
+ "gps",
32
+ "camera",
33
+ "bluetooth",
34
+ "settings"
35
+ ],
36
+ "types": "./cordova.plugins.diagnostic.d.ts",
37
+ "dependencies": {
38
+ "colors": "^1.1.2",
39
+ "elementtree": "^0.1.6",
40
+ "minimist": "1.2.0"
41
+ },
42
+ "scripts": {
43
+ "postinstall": "node ./scripts/apply-modules.js"
44
+ },
45
+ "engines": {
46
+ "cordovaDependencies": {
47
+ "0.0.1": {
48
+ "cordova-ios": ">=5.0.0",
49
+ "cordova-android": ">=8.0.0",
50
+ "cordova": ">=9.0.0"
51
+ }
52
+ }
53
+ }
54
+ }
package/plugin.xml ADDED
@@ -0,0 +1,496 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
3
+ xmlns:android="http://schemas.android.com/apk/res/android"
4
+ id="cordova.plugins.diagnostic"
5
+ version="6.0.4">
6
+
7
+ <name>Diagnostic</name>
8
+ <description>Cordova/Phonegap plugin to check the state of Location/WiFi/Camera/Bluetooth device settings.</description>
9
+ <author>Dave Alden</author>
10
+ <license>MIT</license>
11
+ <keywords>ecosystem:cordova,cordova,phonegap,android,ios,windows,diagnostic,wifi,location,gps,camera,bluetooth,settings</keywords>
12
+ <engines>
13
+ <engine name="cordova" version=">=9.0.0"/>
14
+ <engine name="cordova-android" version=">=8.0.0"/>
15
+ <engine name="cordova-ios" version=">=5.0.0"/>
16
+ </engines>
17
+ <repo>https://github.com/dpa99c/cordova-diagnostic-plugin.git</repo>
18
+ <issue>https://github.com/dpa99c/cordova-diagnostic-plugin/issues</issue>
19
+
20
+ <platform name="ios">
21
+ <config-file target="config.xml" parent="/*">
22
+ <feature name="Diagnostic">
23
+ <param name="ios-package" value="Diagnostic" />
24
+ <param name="onload" value="true" />
25
+ </feature>
26
+ </config-file>
27
+
28
+ <js-module src="www/ios/diagnostic.js" name="Diagnostic">
29
+ <merges target="cordova.plugins.diagnostic" />
30
+ </js-module>
31
+
32
+ <header-file src="src/ios/Diagnostic.h" />
33
+ <source-file src="src/ios/Diagnostic.m" />
34
+
35
+ <!--BEGIN_MODULE LOCATION-->
36
+ <config-file target="config.xml" parent="/*">
37
+ <feature name="Diagnostic_Location">
38
+ <param name="ios-package" value="Diagnostic_Location" />
39
+ <param name="onload" value="true" />
40
+ </feature>
41
+ </config-file>
42
+
43
+ <js-module src="www/ios/diagnostic.location.js" name="Diagnostic_Location">
44
+ <merges target="cordova.plugins.diagnostic.location" />
45
+ </js-module>
46
+
47
+ <header-file src="src/ios/Diagnostic_Location.h" />
48
+ <source-file src="src/ios/Diagnostic_Location.m" />
49
+
50
+ <framework src="CoreLocation.framework" />
51
+
52
+ <config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription" comment="Default usage descriptions: override as necessary in .plist">
53
+ <string>This app requires access to your location when the screen is on and the app is displayed.</string>
54
+ </config-file>
55
+
56
+ <config-file target="*-Info.plist" parent="NSLocationAlwaysAndWhenInUseUsageDescription" comment="iOS 11 or greater">
57
+ <string>This app requires constant access to your location in order to track your position, even when the screen is off or the app is in the background.</string>
58
+ </config-file>
59
+
60
+ <config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription" comment="iOS 10">
61
+ <string>This app requires constant access to your location in order to track your position, even when the screen is off or the app is in the background.</string>
62
+ </config-file>
63
+ <!--END_MODULE LOCATION-->
64
+
65
+ <!--BEGIN_MODULE BLUETOOTH-->
66
+ <config-file target="config.xml" parent="/*">
67
+ <feature name="Diagnostic_Bluetooth">
68
+ <param name="ios-package" value="Diagnostic_Bluetooth" />
69
+ <param name="onload" value="true" />
70
+ </feature>
71
+ </config-file>
72
+
73
+ <js-module src="www/ios/diagnostic.bluetooth.js" name="Diagnostic_Bluetooth">
74
+ <merges target="cordova.plugins.diagnostic.bluetooth" />
75
+ </js-module>
76
+
77
+ <header-file src="src/ios/Diagnostic_Bluetooth.h" />
78
+ <source-file src="src/ios/Diagnostic_Bluetooth.m" />
79
+
80
+ <framework src="CoreBluetooth.framework" />
81
+
82
+ <config-file target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription">
83
+ <string>This app requires Bluetooth access to function properly.</string>
84
+ </config-file>
85
+
86
+ <config-file target="*-Info.plist" parent="NSBluetoothAlwaysUsageDescription">
87
+ <string>This app requires constant Bluetooth access to function properly.</string>
88
+ </config-file>
89
+ <!--END_MODULE BLUETOOTH-->
90
+
91
+ <!--BEGIN_MODULE WIFI-->
92
+ <config-file target="config.xml" parent="/*">
93
+ <feature name="Diagnostic_Wifi">
94
+ <param name="ios-package" value="Diagnostic_Wifi" />
95
+ <param name="onload" value="true" />
96
+ </feature>
97
+ </config-file>
98
+
99
+ <js-module src="www/ios/diagnostic.wifi.js" name="Diagnostic_Wifi">
100
+ <merges target="cordova.plugins.diagnostic.wifi" />
101
+ </js-module>
102
+
103
+ <header-file src="src/ios/Diagnostic_Wifi.h" />
104
+ <source-file src="src/ios/Diagnostic_Wifi.m" />
105
+ <!--END_MODULE WIFI-->
106
+
107
+ <!--BEGIN_MODULE CAMERA-->
108
+ <config-file target="config.xml" parent="/*">
109
+ <feature name="Diagnostic_Camera">
110
+ <param name="ios-package" value="Diagnostic_Camera" />
111
+ <param name="onload" value="true" />
112
+ </feature>
113
+ </config-file>
114
+
115
+ <js-module src="www/ios/diagnostic.camera.js" name="Diagnostic_Camera">
116
+ <merges target="cordova.plugins.diagnostic.camera" />
117
+ </js-module>
118
+
119
+ <framework src="Photos.framework" />
120
+ <framework src="AVFoundation.framework" />
121
+
122
+ <config-file target="*-Info.plist" parent="NSCameraUsageDescription">
123
+ <string>This app requires camera access to function properly.</string>
124
+ </config-file>
125
+
126
+ <config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
127
+ <string>This app requires photo library access to function properly.</string>
128
+ </config-file>
129
+
130
+ <header-file src="src/ios/Diagnostic_Camera.h" />
131
+ <source-file src="src/ios/Diagnostic_Camera.m" />
132
+ <!--END_MODULE CAMERA-->
133
+
134
+ <!--BEGIN_MODULE NOTIFICATIONS-->
135
+ <config-file target="config.xml" parent="/*">
136
+ <feature name="Diagnostic_Notifications">
137
+ <param name="ios-package" value="Diagnostic_Notifications" />
138
+ <param name="onload" value="true" />
139
+ </feature>
140
+ </config-file>
141
+
142
+ <framework src="UserNotifications.framework" />
143
+
144
+ <js-module src="www/ios/diagnostic.notifications.js" name="Diagnostic_Notifications">
145
+ <merges target="cordova.plugins.diagnostic.notifications" />
146
+ </js-module>
147
+
148
+ <header-file src="src/ios/Diagnostic_Notifications.h" />
149
+ <source-file src="src/ios/Diagnostic_Notifications.m" />
150
+ <!--END_MODULE NOTIFICATIONS-->
151
+
152
+ <!--BEGIN_MODULE MICROPHONE-->
153
+ <config-file target="config.xml" parent="/*">
154
+ <feature name="Diagnostic_Microphone">
155
+ <param name="ios-package" value="Diagnostic_Microphone" />
156
+ <param name="onload" value="true" />
157
+ </feature>
158
+ </config-file>
159
+
160
+ <js-module src="www/ios/diagnostic.microphone.js" name="Diagnostic_Microphone">
161
+ <merges target="cordova.plugins.diagnostic.microphone" />
162
+ </js-module>
163
+
164
+ <framework src="AVFoundation.framework" />
165
+
166
+ <config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
167
+ <string>This app requires microphone access to function properly.</string>
168
+ </config-file>
169
+
170
+ <header-file src="src/ios/Diagnostic_Microphone.h" />
171
+ <source-file src="src/ios/Diagnostic_Microphone.m" />
172
+ <!--END_MODULE MICROPHONE-->
173
+
174
+ <!--BEGIN_MODULE CONTACTS-->
175
+ <config-file target="config.xml" parent="/*">
176
+ <feature name="Diagnostic_Contacts">
177
+ <param name="ios-package" value="Diagnostic_Contacts" />
178
+ <param name="onload" value="true" />
179
+ </feature>
180
+ </config-file>
181
+
182
+ <js-module src="www/ios/diagnostic.contacts.js" name="Diagnostic_Contacts">
183
+ <merges target="cordova.plugins.diagnostic.contacts" />
184
+ </js-module>
185
+
186
+ <framework src="Contacts.framework" />
187
+ <framework src="AddressBook.framework" />
188
+
189
+ <config-file target="*-Info.plist" parent="NSContactsUsageDescription">
190
+ <string>This app requires contacts access to function properly.</string>
191
+ </config-file>
192
+
193
+ <header-file src="src/ios/Diagnostic_Contacts.h" />
194
+ <source-file src="src/ios/Diagnostic_Contacts.m" />
195
+ <!--END_MODULE CONTACTS-->
196
+
197
+ <!--BEGIN_MODULE CALENDAR-->
198
+ <config-file target="config.xml" parent="/*">
199
+ <feature name="Diagnostic_Calendar">
200
+ <param name="ios-package" value="Diagnostic_Calendar" />
201
+ <param name="onload" value="true" />
202
+ </feature>
203
+ </config-file>
204
+
205
+ <js-module src="www/ios/diagnostic.calendar.js" name="Diagnostic_Calendar">
206
+ <merges target="cordova.plugins.diagnostic.calendar" />
207
+ </js-module>
208
+
209
+ <framework src="EventKit.framework" />
210
+
211
+ <config-file target="*-Info.plist" parent="NSCalendarsUsageDescription">
212
+ <string>This app requires calendar access to function properly.</string>
213
+ </config-file>
214
+
215
+ <header-file src="src/ios/Diagnostic_Calendar.h" />
216
+ <source-file src="src/ios/Diagnostic_Calendar.m" />
217
+ <!--END_MODULE CALENDAR-->
218
+
219
+ <!--BEGIN_MODULE REMINDERS-->
220
+ <config-file target="config.xml" parent="/*">
221
+ <feature name="Diagnostic_Reminders">
222
+ <param name="ios-package" value="Diagnostic_Reminders" />
223
+ <param name="onload" value="true" />
224
+ </feature>
225
+ </config-file>
226
+
227
+ <js-module src="www/ios/diagnostic.reminders.js" name="Diagnostic_Reminders">
228
+ <merges target="cordova.plugins.diagnostic.reminders" />
229
+ </js-module>
230
+
231
+ <framework src="EventKit.framework" />
232
+
233
+ <config-file target="*-Info.plist" parent="NSRemindersUsageDescription">
234
+ <string>This app requires reminders access to function properly.</string>
235
+ </config-file>
236
+
237
+ <header-file src="src/ios/Diagnostic_Reminders.h" />
238
+ <source-file src="src/ios/Diagnostic_Reminders.m" />
239
+ <!--END_MODULE REMINDERS-->
240
+
241
+ <!--BEGIN_MODULE MOTION-->
242
+ <config-file target="config.xml" parent="/*">
243
+ <feature name="Diagnostic_Motion">
244
+ <param name="ios-package" value="Diagnostic_Motion" />
245
+ <param name="onload" value="true" />
246
+ </feature>
247
+ </config-file>
248
+
249
+ <js-module src="www/ios/diagnostic.motion.js" name="Diagnostic_Motion">
250
+ <merges target="cordova.plugins.diagnostic.motion" />
251
+ </js-module>
252
+
253
+ <framework src="CoreMotion.framework" />
254
+
255
+ <config-file target="*-Info.plist" parent="NSMotionUsageDescription">
256
+ <string>This app requires motion detection access to function properly.</string>
257
+ </config-file>
258
+
259
+ <header-file src="src/ios/Diagnostic_Motion.h" />
260
+ <source-file src="src/ios/Diagnostic_Motion.m" />
261
+ <!--END_MODULE MOTION-->
262
+ </platform>
263
+
264
+ <platform name="android">
265
+ <config-file target="config.xml" parent="/*">
266
+ <feature name="Diagnostic" >
267
+ <param name="android-package" value="cordova.plugins.Diagnostic"/>
268
+ <param name="onload" value="true" />
269
+ </feature>
270
+ </config-file>
271
+
272
+ <js-module name="Diagnostic" src="www/android/diagnostic.js">
273
+ <merges target="cordova.plugins.diagnostic" />
274
+ </js-module>
275
+
276
+ <source-file src="src/android/Diagnostic.java" target-dir="src/cordova/plugins" />
277
+
278
+ <preference name="ANDROIDX_VERSION" default="1.0.0" />
279
+ <preference name="ANDROIDX_APPCOMPAT_VERSION" default="1.3.1" />
280
+ <framework src="androidx.legacy:legacy-support-v4:$ANDROIDX_VERSION" />
281
+ <framework src="androidx.appcompat:appcompat:$ANDROIDX_APPCOMPAT_VERSION" />
282
+
283
+ <!--BEGIN_MODULE LOCATION-->
284
+ <config-file target="config.xml" parent="/*">
285
+ <feature name="Diagnostic_Location" >
286
+ <param name="android-package" value="cordova.plugins.Diagnostic_Location"/>
287
+ <param name="onload" value="true" />
288
+ </feature>
289
+ </config-file>
290
+
291
+ <js-module name="Diagnostic_Location" src="www/android/diagnostic.location.js">
292
+ <merges target="cordova.plugins.diagnostic.location" />
293
+ </js-module>
294
+
295
+ <source-file src="src/android/Diagnostic_Location.java" target-dir="src/cordova/plugins" />
296
+ <!--END_MODULE LOCATION-->
297
+
298
+ <!--BEGIN_MODULE BLUETOOTH-->
299
+ <config-file target="config.xml" parent="/*">
300
+ <feature name="Diagnostic_Bluetooth" >
301
+ <param name="android-package" value="cordova.plugins.Diagnostic_Bluetooth"/>
302
+ <param name="onload" value="true" />
303
+ </feature>
304
+ </config-file>
305
+
306
+ <config-file parent="/*" target="AndroidManifest.xml">
307
+ <uses-permission android:name="android.permission.BLUETOOTH" />
308
+ </config-file>
309
+
310
+ <js-module name="Diagnostic_Bluetooth" src="www/android/diagnostic.bluetooth.js">
311
+ <merges target="cordova.plugins.diagnostic.bluetooth" />
312
+ </js-module>
313
+
314
+ <source-file src="src/android/Diagnostic_Bluetooth.java" target-dir="src/cordova/plugins" />
315
+ <!--END_MODULE BLUETOOTH-->
316
+
317
+ <!--BEGIN_MODULE WIFI-->
318
+ <config-file target="config.xml" parent="/*">
319
+ <feature name="Diagnostic_Wifi" >
320
+ <param name="android-package" value="cordova.plugins.Diagnostic_Wifi"/>
321
+ <param name="onload" value="true" />
322
+ </feature>
323
+ </config-file>
324
+
325
+ <js-module name="Diagnostic_Wifi" src="www/android/diagnostic.wifi.js">
326
+ <merges target="cordova.plugins.diagnostic.wifi" />
327
+ </js-module>
328
+
329
+ <source-file src="src/android/Diagnostic_Wifi.java" target-dir="src/cordova/plugins" />
330
+ <!--END_MODULE WIFI-->
331
+
332
+ <!--BEGIN_MODULE CAMERA-->
333
+ <config-file target="config.xml" parent="/*">
334
+ <feature name="Diagnostic_Camera" >
335
+ <param name="android-package" value="cordova.plugins.Diagnostic_Camera"/>
336
+ <param name="onload" value="true" />
337
+ </feature>
338
+ </config-file>
339
+
340
+ <js-module name="Diagnostic_Camera" src="www/android/diagnostic.camera.js">
341
+ <merges target="cordova.plugins.diagnostic.camera" />
342
+ </js-module>
343
+
344
+ <source-file src="src/android/Diagnostic_Camera.java" target-dir="src/cordova/plugins" />
345
+ <!--END_MODULE CAMERA-->
346
+
347
+ <!--BEGIN_MODULE NOTIFICATIONS-->
348
+ <config-file target="config.xml" parent="/*">
349
+ <feature name="Diagnostic_Notifications" >
350
+ <param name="android-package" value="cordova.plugins.Diagnostic_Notifications"/>
351
+ <param name="onload" value="true" />
352
+ </feature>
353
+ </config-file>
354
+
355
+ <js-module name="Diagnostic_Notifications" src="www/android/diagnostic.notifications.js">
356
+ <merges target="cordova.plugins.diagnostic.notifications" />
357
+ </js-module>
358
+
359
+ <source-file src="src/android/Diagnostic_Notifications.java" target-dir="src/cordova/plugins" />
360
+ <!--END_MODULE NOTIFICATIONS-->
361
+
362
+ <!--BEGIN_MODULE MICROPHONE-->
363
+ <js-module name="Diagnostic_Microphone" src="www/android/diagnostic.microphone.js">
364
+ <merges target="cordova.plugins.diagnostic.microphone" />
365
+ </js-module>
366
+ <!--END_MODULE MICROPHONE-->
367
+
368
+ <!--BEGIN_MODULE CONTACTS-->
369
+ <js-module name="Diagnostic_Contacts" src="www/android/diagnostic.contacts.js">
370
+ <merges target="cordova.plugins.diagnostic.contacts" />
371
+ </js-module>
372
+ <!--END_MODULE CONTACTS-->
373
+
374
+ <!--BEGIN_MODULE CALENDAR-->
375
+ <js-module name="Diagnostic_Calendar" src="www/android/diagnostic.calendar.js">
376
+ <merges target="cordova.plugins.diagnostic.calendar" />
377
+ </js-module>
378
+ <!--END_MODULE CALENDAR-->
379
+
380
+ <!--BEGIN_MODULE NFC-->
381
+ <config-file target="config.xml" parent="/*">
382
+ <feature name="Diagnostic_NFC" >
383
+ <param name="android-package" value="cordova.plugins.Diagnostic_NFC"/>
384
+ <param name="onload" value="true" />
385
+ </feature>
386
+ </config-file>
387
+
388
+ <js-module name="Diagnostic_NFC" src="www/android/diagnostic.nfc.js">
389
+ <merges target="cordova.plugins.diagnostic.nfc" />
390
+ </js-module>
391
+
392
+ <source-file src="src/android/Diagnostic_NFC.java" target-dir="src/cordova/plugins" />
393
+ <!--END_MODULE NFC-->
394
+
395
+ <!--BEGIN_MODULE EXTERNAL_STORAGE-->
396
+ <config-file target="config.xml" parent="/*">
397
+ <feature name="Diagnostic_External_Storage" >
398
+ <param name="android-package" value="cordova.plugins.Diagnostic_External_Storage"/>
399
+ <param name="onload" value="true" />
400
+ </feature>
401
+ </config-file>
402
+
403
+ <js-module name="Diagnostic_External_Storage" src="www/android/diagnostic.external_storage.js">
404
+ <merges target="cordova.plugins.diagnostic.external_storage" />
405
+ </js-module>
406
+
407
+ <source-file src="src/android/Diagnostic_External_Storage.java" target-dir="src/cordova/plugins" />
408
+ <!--END_MODULE EXTERNAL_STORAGE-->
409
+ </platform>
410
+
411
+ <platform name="windows">
412
+ <config-file target="config.xml" parent="/*">
413
+ <feature name="Diagnostic" >
414
+ <param name="windows-package" value="cordova.plugins.Diagnostic"/>
415
+ </feature>
416
+ </config-file>
417
+
418
+ <js-module src="www/windows/diagnostic.js" name="Diagnostic">
419
+ <merges target="cordova.plugins.diagnostic" />
420
+ </js-module>
421
+
422
+ <js-module src="src/windows/diagnosticProxy.js" name="diagnosticProxy">
423
+ <merges target="" />
424
+ </js-module>
425
+
426
+ <!--BEGIN_MODULE LOCATION-->
427
+ <config-file target="config.xml" parent="/*">
428
+ <feature name="Diagnostic_Location" >
429
+ <param name="windows-package" value="cordova.plugins.Diagnostic_Location"/>
430
+ </feature>
431
+ </config-file>
432
+
433
+ <js-module src="www/windows/diagnostic.location.js" name="Diagnostic_Location">
434
+ <merges target="cordova.plugins.diagnostic.location" />
435
+ </js-module>
436
+
437
+ <js-module src="src/windows/diagnosticProxy.location.js" name="diagnosticProxy.location">
438
+ <merges target="" />
439
+ </js-module>
440
+ <!--END_MODULE LOCATION-->
441
+
442
+ <!--BEGIN_MODULE BLUETOOTH-->
443
+ <config-file target="config.xml" parent="/*">
444
+ <feature name="Diagnostic_Bluetooth" >
445
+ <param name="windows-package" value="cordova.plugins.Diagnostic_Bluetooth"/>
446
+ </feature>
447
+ </config-file>
448
+
449
+ <js-module src="www/windows/diagnostic.bluetooth.js" name="Diagnostic_Bluetooth">
450
+ <merges target="cordova.plugins.diagnostic.bluetooth" />
451
+ </js-module>
452
+
453
+ <js-module src="src/windows/diagnosticProxy.bluetooth.js" name="diagnosticProxy.bluetooth">
454
+ <merges target="" />
455
+ </js-module>
456
+ <!--END_MODULE BLUETOOTH-->
457
+
458
+ <!--BEGIN_MODULE WIFI-->
459
+ <config-file target="config.xml" parent="/*">
460
+ <feature name="Diagnostic_Wifi" >
461
+ <param name="windows-package" value="cordova.plugins.Diagnostic_Wifi"/>
462
+ </feature>
463
+ </config-file>
464
+
465
+ <js-module src="www/windows/diagnostic.wifi.js" name="Diagnostic_Wifi">
466
+ <merges target="cordova.plugins.diagnostic.wifi" />
467
+ </js-module>
468
+
469
+ <js-module src="src/windows/diagnosticProxy.wifi.js" name="diagnosticProxy.wifi">
470
+ <merges target="" />
471
+ </js-module>
472
+ <!--END_MODULE WIFI-->
473
+
474
+ <!--BEGIN_MODULE CAMERA-->
475
+ <config-file target="config.xml" parent="/*">
476
+ <feature name="Diagnostic_Camera" >
477
+ <param name="windows-package" value="cordova.plugins.Diagnostic_Camera"/>
478
+ </feature>
479
+ </config-file>
480
+
481
+ <js-module src="www/windows/diagnostic.camera.js" name="Diagnostic_Camera">
482
+ <merges target="cordova.plugins.diagnostic.camera" />
483
+ </js-module>
484
+
485
+ <js-module src="src/windows/diagnosticProxy.camera.js" name="diagnosticProxy.camera">
486
+ <merges target="" />
487
+ </js-module>
488
+ <!--END_MODULE CAMERA-->
489
+
490
+ <!--BEGIN_MODULE ACTIVITY_RECOGNITION-->
491
+ <config-file parent="/*" target="AndroidManifest.xml">
492
+ <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
493
+ </config-file>
494
+ <!--END_MODULE BLUETOOTH-->
495
+ </platform>
496
+ </plugin>