Repository navigation
Expand file tree
/
Copy pathplugin.xml
More file actions
46 lines (38 loc) · 1.4 KB
/
Copy pathplugin.xml
File metadata and controls
46 lines (38 loc) · 1.4 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.luckydrive.background.process"
version="1.0.0">
<name>Background process</name>
<description>Background process</description>
<engines>
<engine name="cordova" version=">=6.3.0" />
</engines>
<js-module src="www/background-process.js" name="BackgroundProcess">
<clobbers target="BackgroundProcess" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BackgroundProcess">
<param name="android-package" value="com.luckydrive.background.process.BackgroundProcess" />
</feature>
</config-file>
<source-file src="src/android/BackgroundProcess.java" target-dir="src/com/luckydrive/background/process" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BackgroundProcess">
<param name="ios-package" value="BackgroundProcess" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>location</string>
</array>
</config-file>
<framework src="CoreLocation.framework" />
<header-file src="src/ios/BackgroundProcess.h" />
<source-file src="src/ios/BackgroundProcess.m" />
</platform>
</plugin>