-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
45 lines (38 loc) · 1.64 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
<?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="org.apache.cordova.background.fetch"
version="1.0.0">
<name>Background Fetch</name>
<description>Cordova Background Fetch Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,background, fetch</keywords>
<description>
This plugin allows your application to update your application in the background on ios using remote
notifications or background fetch.
</description>
<!-- <dependency id="com.adobe.plugins.PushPlugin" url="https://github.com/phonegap-build/PushPlugin.git" commit="1.3.4" /> -->
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/backgroundFetch.js" name="BackgroundFetch">
<clobbers target="backgroundFetch"/>
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="backgroundFetch">
<param name="ios-package" value="BackgroundPlugin"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>fetch</string>
<string>remote-notification</string>
</array>
</config-file>
<source-file src="src/ios/AppDelegate+fetch.m"/>
<source-file src="src/ios/BackgroundPlugin.m"/>
<header-file src="src/ios/AppDelegate+fetch.h"/>
<header-file src="src/ios/BackgroundPlugin.h"/>
</platform>
</plugin>