-
Notifications
You must be signed in to change notification settings - Fork 21
/
plugin.xml
38 lines (33 loc) · 1.77 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cl.rmd.cordova.dialoggps"
version="0.0.2">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>DialogGPS</name>
<description>Plugin for phonegap to display a dialog to redirect to gps settings when gps are disabled.</description>
<license>MIT</license>
<keywords>phonegap,dialog,gps,dialogGPS</keywords>
<js-module src="www/DialogGPS.js" name="DialogGPS">
<clobbers target="cordova.dialogGPS" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="DialogGPS">
<param name="android-package" value="cl.rmd.cordova.dialoggps.DialogGPS"/>
</feature>
</config-file>
<source-file src="src/android/DialogGPS.java" target-dir="src/cl/rmd/cordova/dialoggps" />
<source-file src="www/icon/drawable-hdpi/ic_location.png" target-dir="res/drawable-hdpi/"/>
<source-file src="www/icon/drawable-mdpi/ic_location.png" target-dir="res/drawable-mdpi/"/>
<source-file src="www/icon/drawable-xhdpi/ic_location.png" target-dir="res/drawable-xhdpi/"/>
<source-file src="www/icon/drawable-xxhdpi/ic_location.png" target-dir="res/drawable-xxhdpi/"/>
<source-file src="www/icon/drawable-xxxhdpi/ic_location.png" target-dir="res/drawable-xxxhdpi/"/>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
</config-file>
</platform>
</plugin>