forked from dpa99c/cordova-diagnostic-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·77 lines (67 loc) · 3.04 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
<?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="2.3.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>
<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 will now only track your location when the screen is on and the app is displayed.</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="AVFoundation.framework" />
<framework src="Photos.framework" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic" >
<param name="android-package" value="cordova.plugins.Diagnostic"/>
</feature>
</config-file>
<framework src="com.android.support:support-v4:23.+" />
<framework src="com.android.support:appcompat-v7:23.+" />
<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" />
</platform>
<!-- windows -->
<platform name="windows">
<config-file target="config.xml" parent="/*">
<feature name="Diagnostic" >
<param name="windows-package" value="cordova.plugins.Diagnostic"/>
</feature>
</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>