-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
35 lines (35 loc) · 1.37 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="nl.tapme.cordova.opensettings" version="0.1">
<name>Open Settings</name>
<author>Erik Huisman</author>
<description>OpenSettings opens your apps settings in settings.app. (makes it more easy for users to turn on Location Services)
</description>
<license>Apache 2.0</license>
<keywords>cordova, phonegap, iOS8, url, scheme</keywords>
<engines>
<engine name="cordova" version=">=3"/>
</engines>
<js-module src="www/OpenSettings.js" name="OpenSettings">
<clobbers target="window.OpenSettings"/>
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="OpenSettings">
<param name="ios-package" value="OpenSettings"/>
</feature>
</config-file>
<header-file src="src/ios/OpenSettings.h"/>
<source-file src="src/ios/OpenSettings.m"/>
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="OpenSettings">
<param name="android-package" value="nl.tapme.cordova.OpenSettings" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true" />
</config-file>
<source-file src="src/android/OpenSettings.java" target-dir="src/nl/tapme/cordova" />
</platform>
</plugin>