forked from tomloprod/cordova-plugin-fakelocation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
32 lines (23 loc) · 1.04 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="cordova-plugin-fakelocation" version="1.0">
<name>FakeLocation</name>
<description>Checks if "allow mock locations" are enabled</description>
<license>MIT</license>
<keywords>cordova, ionic, test-locations, fake-locations, mock-locations, android</keywords>
<js-module src="www/FakeLocation.js" name="FakeLocation">
<clobbers target="cordova.plugins.fakeLocation" />
</js-module>
<!-- It is not necessary! I did not know!
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
</config-file>
-->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FakeLocation">
<param name="android-package" value="tomloprod.FakeLocation"/>
</feature>
</config-file>
<source-file src="src/android/FakeLocation.java" target-dir="src/tomloprod/fakelocation"/>
</platform>
</plugin>