forked from olihel/PhoneGap-Geofencing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
59 lines (52 loc) · 2.28 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
<?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="org.apache.cordova.plugin.DGGeofencing"
version="1">
<name>Geo Fencing Plugin</name>
<!--
outdated!
<asset src="www/DGGeofencing.js" target="DGGeofencing.js" />
-->
<!-- android -->
<!--
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="org.apache.cordova.plugin.geo.ProximityReceiver">
<intent-filter>
<action android:name="geoFencingProximityAlert"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
</config-file>
-->
<!-- Cordova 1.5 - 1.9 -->
<!--
<config-file target="res/xml/plugins.xml" parent="/plugins">
<plugin name="DGGeofencing" value="org.apache.cordova.plugin.geo.DGGeofencing" />
</config-file>
-->
<!-- Cordova 2.0.0 -->
<!--
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
<plugin name="DGGeofencing" value="org.apache.cordova.plugin.geo.DGGeofencing" />
</config-file>
<source-file src="src/android/DGGeofencing/DGGeofencing.java" target-dir="src/org/apache/cordova/plugin/geo/" />
<source-file src="src/android/DGGeofencing/DGGeofencingService.java" target-dir="src/org/apache/cordova/plugin/geo/" />
<source-file src="src/android/DGGeofencing/LocationChangedListener.java" target-dir="src/org/apache/cordova/plugin/geo/" />
</platform>
-->
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="DGGeofencing">
<param name="ios-package" value="DGGeofencing"/>
</feature>
</config-file>
<header-file src="src/iOS/DGGeofencing/DGGeofencing.h" />
<source-file src="src/iOS/DGGeofencing/DGGeofencing.m" compiler-flags="-fno-objc-arc" />
<js-module src="src/iOS/DGGeofencing/DGGeofencing.js" name="DGGeofencing">
<clobbers target="window.DGGeofencing" />
</js-module>
</platform>
</plugin>