-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplugin.xml
79 lines (69 loc) · 3.66 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
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
<?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="cordova-plugin-firebase-extended-notification"
version="2.2.0">
<name>Firebase Extended Notification Cordova Plugin</name>
<description>Simple extended message from server as "data"</description>
<repo>https://github.com/andrehtissot/cordova-plugin-firebase-extended-notification.git</repo>
<keywords>notification, stackable, groupable, summarized, cordova, android, push, firebase</keywords>
<license>MIT</license>
<author>André Augusto Tissot</author>
<js-module src="www/FirebaseExtendedNotification.js" name="FirebaseExtendedNotification">
<clobbers target="FirebaseExtendedNotification" />
</js-module>
<!-- cordova -->
<engines>
<engine name="cordova-android" version=">=8.0.0" />
</engines>
<!-- dependencies -->
<dependency id="cordova-plugin-fcm-with-dependecy-updated" version=">=6.3.0" />
<!-- android -->
<platform name="android">
<framework src="src/android/FirebaseExtendedNotification.gradle" custom="true" type="gradleReference"/>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:exported="true" android:name="com.andretissot.firebaseextendednotification.NotificationActivity" android:launchMode="singleTop">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<service android:name="com.andretissot.firebaseextendednotification.MessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<provider android:name="androidx.core.content.FileProvider"
android:authorities="$PACKAGE_NAME.fbenfileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/firebaseextendednotification_provider_paths"/>
</provider>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FirebaseExtendedNotification" >
<param name="android-package"
value="com.andretissot.firebaseextendednotification.FirebaseExtendedNotification"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file
src="src/android/FirebaseExtendedNotification.java"
target-dir="src/com/andretissot/firebaseextendednotification" />
<source-file
src="src/android/NotificationActivity.java"
target-dir="src/com/andretissot/firebaseextendednotification" />
<source-file
src="src/android/MessagingService.java"
target-dir="src/com/andretissot/firebaseextendednotification" />
<source-file
src="src/android/Options.java"
target-dir="src/com/andretissot/firebaseextendednotification" />
<source-file
src="src/android/Manager.java"
target-dir="src/com/andretissot/firebaseextendednotification" />
<resource-file src="res/android/xml/firebaseextendednotification_provider_paths.xml"
target="res/xml/firebaseextendednotification_provider_paths.xml" />
<hook type="before_prepare" src="scripts/beforePrepareBuild.js" />
</platform>
</plugin>