-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
101 lines (82 loc) · 4.16 KB
/
plugin.xml
File metadata and controls
101 lines (82 loc) · 4.16 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
<?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="7.1.1">
<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,diagnostic,wifi,location,gps,camera,bluetooth,settings</keywords>
<engines>
<engine name="cordova" version=">=9.0.0"/>
<engine name="cordova-android" version=">=8.0.0"/>
<engine name="cordova-ios" version=">=5.0.0"/>
</engines>
<repo>https://github.com/dpa99c/cordova-diagnostic-plugin.git</repo>
<issue>https://github.com/dpa99c/cordova-diagnostic-plugin/issues</issue>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic">
<param name="ios-package" value="Diagnostic" />
<param name="onload" value="true" />
</feature>
</config-file>
<js-module src="www/ios/diagnostic.js" name="Diagnostic">
<merges target="cordova.plugins.diagnostic" />
</js-module>
<header-file src="src/ios/Diagnostic.h" />
<source-file src="src/ios/Diagnostic.m" />
<!--BEGIN_MODULE BLUETOOTH-->
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic_Bluetooth">
<param name="ios-package" value="Diagnostic_Bluetooth" />
<param name="onload" value="true" />
</feature>
</config-file>
<js-module src="www/ios/diagnostic.bluetooth.js" name="Diagnostic_Bluetooth">
<merges target="cordova.plugins.diagnostic.bluetooth" />
</js-module>
<header-file src="src/ios/Diagnostic_Bluetooth.h" />
<source-file src="src/ios/Diagnostic_Bluetooth.m" />
<framework src="CoreBluetooth.framework" />
<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="NSBluetoothAlwaysUsageDescription">
<string>This app requires constant Bluetooth access to function properly.</string>
</config-file>
<!--END_MODULE BLUETOOTH-->
</platform>
<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>
<js-module name="Diagnostic" src="www/android/diagnostic.js">
<merges target="cordova.plugins.diagnostic" />
</js-module>
<source-file src="src/android/Diagnostic.java" target-dir="src/cordova/plugins" />
<preference name="ANDROIDX_VERSION" default="1.0.0" />
<preference name="ANDROIDX_APPCOMPAT_VERSION" default="1.3.1" />
<framework src="androidx.legacy:legacy-support-v4:$ANDROIDX_VERSION" />
<framework src="androidx.appcompat:appcompat:$ANDROIDX_APPCOMPAT_VERSION" />
<!--BEGIN_MODULE BLUETOOTH-->
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic_Bluetooth" >
<param name="android-package" value="cordova.plugins.Diagnostic_Bluetooth"/>
<param name="onload" value="true" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.BLUETOOTH" />
</config-file>
<js-module name="Diagnostic_Bluetooth" src="www/android/diagnostic.bluetooth.js">
<merges target="cordova.plugins.diagnostic.bluetooth" />
</js-module>
<source-file src="src/android/Diagnostic_Bluetooth.java" target-dir="src/cordova/plugins" />
<!--END_MODULE BLUETOOTH-->
</platform>
</plugin>