forked from wuher/cordova-geolocation-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
44 lines (33 loc) · 1.45 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.vinka.cordova.plugin.geolocation"
version="1.0.0">
<name>Geolocation Background Service</name>
<description>
Geolocation Background Service
</description>
<license>Apache 2.0</license>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<!-- Load in the core background service -->
<dependency id="com.red_folder.phonegap.plugin.backgroundservice" url="https://github.com/ramisalminen/bgs-core.git"/>
<!-- android -->
<platform name="android">
<!--
<asset src="www/myService.html" target="myService.html" />
-->
<js-module src="www/geolocation.js" name="GeolocationService">
<clobbers target="cordova.plugins.GeolocationService" />
</js-module>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.vinka.cordova.plugin.geolocation.GeolocationService">
<intent-filter>
<action android:name="com.vinka.cordova.plugin.geolocation.GeolocationService"/>
</intent-filter>
</service>
</config-file>
<source-file src="src/android/GeolocationService.java" target-dir="src/com/vinka/cordova/plugin/geolocation" />
</platform>
</plugin>