-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
45 lines (34 loc) · 1.45 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://www.phonegap.com/ns/plugins/1.0"
id="org.transistorsoft.cordova.background-notification"
version="0.1.0">
<name>CDVBackgroundNotification</name>
<description>Cordova Background Notification Plugin</description>
<license>MIT</license>
<keywords>phonegap,background fetch</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- android -->
<platform name="android">
</platform>
<platform name="ios">
<!-- required background modes: App registers for location updates -->
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>remote-notification</string>
</array>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="BackgroundNotification">
<param name="ios-package" value="CDVBackgroundNotification"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<source-file src="src/ios/CDVBackgroundNotification.m" />
<header-file src="src/ios/CDVBackgroundNotification.h" />
<js-module src="www/BackgroundNotification.js" name="BackgroundNotification">
<clobbers target="plugins.backgroundNotification" />
</js-module>
</platform>
</plugin>