Uh oh!
There was an error while loading. Please reload this page.
forked from phonegap/phonegap-plugin-push
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
Latest commit
executable file
·110 lines (108 loc) · 5.89 KB
/
Copy pathplugin.xml
File metadata and controls
executable file
·110 lines (108 loc) · 5.89 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<pluginxmlns="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="2.0.0-rc5">
<name>PushPlugin</name>
<description>
This plugin allows your application to receive push notifications on Android, iOS and Windows devices.
Android uses Firebase Cloud Messaging.
iOS uses Apple APNS Notifications.
Windows uses Microsoft WNS Notifications.
</description>
<license>MIT</license>
<js-modulesrc="www/push.js"name="PushNotification">
<clobberstarget="PushNotification"/>
</js-module>
<engines>
<enginename="cordova"version=">=6.4.0"/>
<enginename="cordova-android"version=">=6.2.1"/>
<enginename="cordova-ios"version=">=4.4.0"/>
</engines>
<platformname="android">
<config-filetarget="res/xml/config.xml"parent="/*">
<featurename="PushNotification">
<paramname="android-package"value="com.adobe.phonegap.push.PushPlugin"/>
</feature>
</config-file>
<config-filetarget="AndroidManifest.xml"parent="/manifest">
<uses-permissionandroid:name="android.permission.INTERNET"/>
<uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permissionandroid:name="android.permission.WAKE_LOCK"/>
<uses-permissionandroid:name="android.permission.VIBRATE"/>
</config-file>
<config-filetarget="AndroidManifest.xml"parent="/manifest/application">
<activityandroid:name="com.adobe.phonegap.push.PushHandlerActivity"android:exported="true"android:permission="${applicationId}.permission.PushHandlerActivity"/>
<receiverandroid:name="com.adobe.phonegap.push.BackgroundActionButtonHandler"/>
<receiverandroid:name="com.adobe.phonegap.push.PushDismissedHandler"/>
<serviceandroid:name="com.adobe.phonegap.push.FCMService">
<intent-filter>
<actionandroid:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<serviceandroid:name="com.adobe.phonegap.push.PushInstanceIDListenerService">
<intent-filter>
<actionandroid:name="com.google.firebase.INSTANCE_ID_EVENT"/>
</intent-filter>
</service>
</config-file>
<frameworksrc="com.android.support:support-v13:25.1.0"/>
<frameworksrc="me.leolin:ShortcutBadger:1.1.14@aar"/>
<frameworksrc="com.google.firebase:firebase-messaging:11.0.1"/>
<frameworksrc="push.gradle"custom="true"type="gradleReference"/>
<source-filesrc="src/android/com/adobe/phonegap/push/FCMService.java"target-dir="src/com/adobe/phonegap/push/"/>
<source-filesrc="src/android/com/adobe/phonegap/push/PushConstants.java"target-dir="src/com/adobe/phonegap/push/"/>
<source-filesrc="src/android/com/adobe/phonegap/push/PushHandlerActivity.java"target-dir="src/com/adobe/phonegap/push/"/>
<source-filesrc="src/android/com/adobe/phonegap/push/PushInstanceIDListenerService.java"target-dir="src/com/adobe/phonegap/push/"/>
<source-filesrc="src/android/com/adobe/phonegap/push/PushPlugin.java"target-dir="src/com/adobe/phonegap/push/"/>
<source-filesrc="src/android/com/adobe/phonegap/push/PermissionUtils.java"target-dir="src/com/adobe/phonegap/push/"/>
<source-filesrc="src/android/com/adobe/phonegap/push/BackgroundActionButtonHandler.java"target-dir="src/com/adobe/phonegap/push/"/>
<source-filesrc="src/android/com/adobe/phonegap/push/PushDismissedHandler.java"target-dir="src/com/adobe/phonegap/push/"/>
</platform>
<platformname="browser">
<js-modulesrc="www/browser/push.js"name="BrowserPush">
<clobberstarget="PushNotification"/>
</js-module>
<assetsrc="src/browser/ServiceWorker.js"target="ServiceWorker.js"/>
<assetsrc="src/browser/manifest.json"target="manifest.json"/>
</platform>
<platformname="ios">
<config-filetarget="config.xml"parent="/*">
<featurename="PushNotification">
<paramname="ios-package"value="PushPlugin"/>
</feature>
</config-file>
<config-filetarget="*-Info.plist"parent="UIBackgroundModes">
<array>
<string>remote-notification</string>
</array>
</config-file>
<config-filetarget="*-Debug.plist"parent="aps-environment">
<string>development</string>
</config-file>
<config-filetarget="*-Release.plist"parent="aps-environment">
<string>production</string>
</config-file>
<source-filesrc="src/ios/AppDelegate+notification.m"/>
<source-filesrc="src/ios/PushPlugin.m"/>
<header-filesrc="src/ios/AppDelegate+notification.h"/>
<header-filesrc="src/ios/PushPlugin.h"/>
<!-- FIREBASE LIBS -->
<header-filesrc="src/ios/firebase/Firebase.h" />
<frameworksrc="src/ios/firebase/FirebaseAnalytics.framework"custom="true" />
<frameworksrc="src/ios/firebase/FirebaseCore.framework"custom="true" />
<frameworksrc="src/ios/firebase/FirebaseInstanceID.framework"custom="true" />
<frameworksrc="src/ios/firebase/FirebaseMessaging.framework"custom="true" />
<frameworksrc="src/ios/firebase/GoogleInterchangeUtilities.framework"custom="true" />
<frameworksrc="src/ios/firebase/GoogleIPhoneUtilities.framework"custom="true" />
<frameworksrc="src/ios/firebase/GoogleSymbolUtilities.framework"custom="true" />
<frameworksrc="src/ios/firebase/GoogleUtilities.framework"custom="true" />
<!--<framework src="FirebaseMessaging" type="podspec" spec="~> 2.0.0"/>-->
</platform>
<platformname="windows">
<hooktype="after_plugin_install"src="hooks/windows/setToastCapable.js"/>
<js-modulesrc="src/windows/PushPluginProxy.js"name="PushPlugin">
<runs/>
</js-module>
<config-filetarget="config.xml"parent="/*">
<preferencename="WindowsToastCapable"value="true"/>
</config-file>
</platform>
</plugin>