summaryrefslogtreecommitdiff
path: root/plugins/phonegap-plugin-push/plugin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/phonegap-plugin-push/plugin.xml')
-rwxr-xr-xplugins/phonegap-plugin-push/plugin.xml98
1 files changed, 98 insertions, 0 deletions
diff --git a/plugins/phonegap-plugin-push/plugin.xml b/plugins/phonegap-plugin-push/plugin.xml
new file mode 100755
index 00000000..b3f786db
--- /dev/null
+++ b/plugins/phonegap-plugin-push/plugin.xml
@@ -0,0 +1,98 @@
+<?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"
+ xmlns:amazon="http://schemas.android.com/apk/lib/com.amazon.device.ads"
+ xmlns:rim="http://www.blackberry.com/ns/widgets"
+ id="phonegap-plugin-push"
+ version="1.3.0">
+
+ <name>PushPlugin</name>
+ <author>Bob Easterday</author>
+
+ <description>
+ This plugin allows your application to receive push notifications on Android, iOS, WP8 and Windows8 devices.
+ Android uses Google Cloud Messaging.
+ iOS uses Apple APNS Notifications.
+ WP8 uses Microsoft MPNS Notifications.
+ Windows8 uses Microsoft WNS Notifications.
+ </description>
+
+ <license>MIT</license>
+
+ <js-module src="www/push.js" name="PushNotification">
+ <clobbers target="PushNotification" />
+ </js-module>
+
+ <engines>
+ <engine name="cordova" version=">=3.0.0" />
+ </engines>
+
+ <!-- android -->
+ <platform name="android">
+
+ <config-file target="res/xml/config.xml" parent="/*">
+ <feature name="PushNotification" >
+ <param name="android-package" value="com.adobe.phonegap.push.PushPlugin"/>
+ </feature>
+ </config-file>
+
+ <config-file target="AndroidManifest.xml" parent="/manifest">
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="android.permission.VIBRATE"/>
+ <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
+ <permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" android:protectionLevel="signature" />
+ <uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" />
+ </config-file>
+
+ <config-file target="AndroidManifest.xml" parent="/manifest/application">
+ <activity android:name="com.adobe.phonegap.push.PushHandlerActivity" android:exported="true"/>
+ <receiver android:name="com.adobe.phonegap.push.CordovaGCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" >
+ <intent-filter>
+ <action android:name="com.google.android.c2dm.intent.RECEIVE" />
+ <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
+ <category android:name="$PACKAGE_NAME" />
+ </intent-filter>
+ </receiver>
+ <service android:name="com.adobe.phonegap.push.GCMIntentService" />
+ </config-file>
+
+ <framework src="com.android.support:support-v13:23+" />
+
+ <source-file src="src/android/libs/gcm.jar" target-dir="libs/" />
+ <source-file src="src/android/com/adobe/phonegap/push/CordovaGCMBroadcastReceiver.java" target-dir="src/com/adobe/phonegap/push/" />
+ <source-file src="src/android/com/adobe/phonegap/push/GCMIntentService.java" target-dir="src/com/adobe/phonegap/push/" />
+ <source-file src="src/android/com/adobe/phonegap/push/PushConstants.java" target-dir="src/com/adobe/phonegap/push/" />
+ <source-file src="src/android/com/adobe/phonegap/push/PushHandlerActivity.java" target-dir="src/com/adobe/phonegap/push/" />
+ <source-file src="src/android/com/adobe/phonegap/push/PushPlugin.java" target-dir="src/com/adobe/phonegap/push/" />
+
+ </platform>
+
+ <!-- ios -->
+ <platform name="ios">
+
+ <config-file target="config.xml" parent="/*">
+ <feature name="PushNotification">
+ <param name="ios-package" value="PushPlugin"/>
+ </feature>
+ </config-file>
+
+ <source-file src="src/ios/AppDelegate+notification.m" />
+ <source-file src="src/ios/PushPlugin.m" />
+
+ <header-file src="src/ios/AppDelegate+notification.h" />
+ <header-file src="src/ios/PushPlugin.h" />
+
+ </platform>
+
+ <!-- windows -->
+ <platform name="windows">
+ <js-module src="src/windows/PushPluginProxy.js" name="PushPlugin">
+ <merges target="" />
+ </js-module>
+ <config-file target="config.xml" parent="/*">
+ <preference name="WindowsToastCapable" value="true" />
+ </config-file>
+ </platform>
+
+</plugin>