-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
executable file
·40 lines (32 loc) · 1.32 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
<?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="co.teammate.cordova.plugin.background.fetch"
version="2.0.3">
<name>CDVBackgroundFetch</name>
<description>Cordova Background Fetch Plugin</description>
<license>MIT</license>
<keywords>phonegap,background fetch</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="ios">
<!-- required background modes: App registers for location updates -->
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>fetch</string>
</array>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="BackgroundFetch">
<param name="ios-package" value="CDVBackgroundFetch"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<source-file src="src/ios/CDVBackgroundFetch.m" />
<header-file src="src/ios/CDVBackgroundFetch.h" />
<js-module src="www/BackgroundFetch.js" name="BackgroundFetch">
<clobbers target="plugins.backgroundFetch" />
</js-module>
</platform>
</plugin>