forked from pushbots/phonegap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
executable file
·90 lines (66 loc) · 3 KB
/
plugin.xml
File metadata and controls
executable file
·90 lines (66 loc) · 3 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?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="pushbots-cordova-plugin"
version="1.4.7">
<name>Pushbots</name>
<description>PushBots plugin for phonegap.</description>
<repo>https://github.com/pushbots/phonegap</repo>
<issue>https://github.com/pushbots/phonegap/issues</issue>
<author>Abdullah Diaa</author>
<license>Apache 2.0</license>
<keywords>push, notifications, pushnotifications, apns, GCM, C2DM, Android push notifications,Push Bots, PushBots, phonegap</keywords>
<engines>
<engine name="cordova" version=">=3.6.3"/>
<engine name="cordova-android" version=">=5.1.1"/>
<engine name="cordova-ios" version=">=4.1.0"/>
<engine name="apple-ios" version=">=7.0.0" />
<engine name="apple-xcode" version=">=7.0.0" />
</engines>
<!-- JavaScript interface -->
<js-module src="www/pushbots.js"
name="PushbotsPlugin"
target="www/pushbots.js">
<clobbers target="PushbotsPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<info>
In order to run this plugin, you need to Create application on Pushbots.
Visit https://pushbots.com/developer/docs/phonegap-sdk-integration
</info>
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="PushbotsPlugin">
<param name="android-package" value="com.pushbots.plugin.PushbotsPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.VIBRATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="com.pushbots.plugin.PushHandler" />
</config-file>
<source-file src="src/android/com/pushbots/plugin/PushbotsPlugin.java" target-dir="src/com/pushbots/plugin" />
<source-file src="src/android/com/pushbots/plugin/PushHandler.java" target-dir="src/com/pushbots/plugin" />
<framework src="com.pushbots:pushbots-lib:3.0.2-beta3@aar" />
<framework src="com.google.android.gms:play-services-gcm:+" />
<framework src="build-extras-appid.gradle" custom="true" type="gradleReference" />
</platform>
<!-- iPhone -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PushbotsPlugin">
<param name="ios-package" value="PushbotsPlugin" />
</feature>
</config-file>
<info>
In order to run this plugin, you need to Create application on Pushbots.
Visit https://pushbots.com/developer/docs/phonegap-sdk-integration
</info>
<header-file src="src/ios/PushbotsPlugin.h" />
<source-file src="src/ios/PushbotsPlugin.m" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreTelephony.framework" />
<framework src="src/ios/libs/Pushbots.framework" custom="true" />
</platform>
</plugin>