-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
31 lines (31 loc) · 1.6 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="com.cordova.nativegeolocation" version="1.0.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<keywords>Native , Android , Geolocation</keywords>
<!--<repo>https://github.com/uzumakinaruto123/NativeGeo.git</repo>-->
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<name>NativeGeo</name>
<js-module name="NativeGeo" src="www/NativeGeo.js">
<clobbers target="NativeGeo" />
</js-module>
<platform name="android">
<framework src="com.android.support:support-v4:+" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="NativeGeo">
<param name="android-package" value="com.cordova.nativegeolocation.NativeGeo" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.hardware.location" />
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<source-file src="src/android/NativeGeo.java" target-dir="src/com/cordova/nativegeolocation" />
<source-file src="src/android/GPSTracker.java" target-dir="src/com/cordova/nativegeolocation" />
</platform>
</plugin>